/// <param name='operations'> /// Reference to the MyDashDataAPI.ITodoList. /// </param> /// <param name='todo'> /// Required. /// </param> /// <param name='cancellationToken'> /// Cancellation token. /// </param> public static async Task <object> PutAsync(this ITodoList operations, Todo todo, CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Microsoft.Rest.HttpOperationResponse <object> result = await operations.PutWithOperationResponseAsync(todo, cancellationToken).ConfigureAwait(false); return(result.Body); }