/// <summary> /// Issues the PUT request. /// </summary> /// <param name="report">The Report object to update.</param> /// <returns>The task to await for async call.</returns> public System.Threading.Tasks.Task <Report> PutAsync(Report report) { return(this.PutAsync(report, CancellationToken.None)); }
/// <summary> /// Issues the PUT request. /// </summary> /// <param name="report">The Report 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 <Report> PutAsync(Report report, CancellationToken cancellationToken) { this.Method = "PUT"; return(this.SendAsync <Report>(report, cancellationToken)); }
/// <summary> /// Issues the PATCH request. /// </summary> /// <param name="report">The Report object set with the properties 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<Report> PatchAsync(Report report, CancellationToken cancellationToken) { this.Method = "PATCH"; return this.SendAsync<Report>(report, cancellationToken); }