/// <summary> /// Modifies the ParentId property for the Container with the Id provided to /// the new value supplied. Returns the modified Container. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// Id of the Container whose ParentId property is to be modified. Must be /// double URL encoded. /// </param> /// <param name='newValue'> /// New ParentId value. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <ContainerModel> UpdateParentIdAsync(this IContainers operations, string id, string newValue, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.UpdateParentIdWithHttpMessagesAsync(id, newValue, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }