/// <summary> /// Adds the specified WorkbookChartSeries to the collection via POST. /// </summary> /// <param name="workbookChartSeries">The WorkbookChartSeries to add.</param> /// <returns>The created WorkbookChartSeries.</returns> public System.Threading.Tasks.Task <WorkbookChartSeries> AddAsync(WorkbookChartSeries workbookChartSeries) { return(this.AddAsync(workbookChartSeries, CancellationToken.None)); }
/// <summary> /// Adds the specified WorkbookChartSeries to the collection via POST. /// </summary> /// <param name="workbookChartSeries">The WorkbookChartSeries to add.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param> /// <returns>The created WorkbookChartSeries.</returns> public System.Threading.Tasks.Task <WorkbookChartSeries> AddAsync(WorkbookChartSeries workbookChartSeries, CancellationToken cancellationToken) { this.ContentType = "application/json"; this.Method = "POST"; return(this.SendAsync <WorkbookChartSeries>(workbookChartSeries, cancellationToken)); }
/// <summary> /// Issues the PUT request. /// </summary> /// <param name=workbookchartseries>The WorkbookChartSeries object to update.</param> /// <param name=""cancellationToken"">The <see cref=""CancellationToken""/> for the request.</param> /// <returns>The task to await for async call.</returns> public System.Threading.Tasks.Task <WorkbookChartSeries> PutAsync(WorkbookChartSeries workbookchartseries, CancellationToken cancellationToken) { this.Method = "PUT"; return(this.SendAsync <WorkbookChartSeries>(workbookchartseries, cancellationToken)); }
/// <summary> /// Creates the specified WorkbookChartSeries using POST. /// </summary> /// <param name="workbookChartSeriesToCreate">The WorkbookChartSeries to create.</param> /// <returns>The created WorkbookChartSeries.</returns> public System.Threading.Tasks.Task <WorkbookChartSeries> CreateAsync(WorkbookChartSeries workbookChartSeriesToCreate) { return(this.CreateAsync(workbookChartSeriesToCreate, CancellationToken.None)); }