/// <summary>
 /// Creates the specified ResourceOperation using POST.
 /// </summary>
 /// <param name="resourceOperationToCreate">The ResourceOperation to create.</param>
 /// <returns>The created ResourceOperation.</returns>
 public System.Threading.Tasks.Task <ResourceOperation> CreateAsync(ResourceOperation resourceOperationToCreate)
 {
     return(this.CreateAsync(resourceOperationToCreate, CancellationToken.None));
 }
 /// <summary>
 /// Adds the specified ResourceOperation to the collection via POST.
 /// </summary>
 /// <param name="resourceOperation">The ResourceOperation to add.</param>
 /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
 /// <returns>The created ResourceOperation.</returns>
 public System.Threading.Tasks.Task <ResourceOperation> AddAsync(ResourceOperation resourceOperation, CancellationToken cancellationToken)
 {
     this.ContentType = "application/json";
     this.Method      = "POST";
     return(this.SendAsync <ResourceOperation>(resourceOperation, cancellationToken));
 }
 /// <summary>
 /// Initializes any collection properties after deserialization, like next requests for paging.
 /// </summary>
 /// <param name="resourceOperationToInitialize">The <see cref="ResourceOperation"/> with the collection properties to initialize.</param>
 private void InitializeCollectionProperties(ResourceOperation resourceOperationToInitialize)
 {
 }
 /// <summary>
 /// Adds the specified ResourceOperation to the collection via POST.
 /// </summary>
 /// <param name="resourceOperation">The ResourceOperation to add.</param>
 /// <returns>The created ResourceOperation.</returns>
 public System.Threading.Tasks.Task <ResourceOperation> AddAsync(ResourceOperation resourceOperation)
 {
     return(this.AddAsync(resourceOperation, CancellationToken.None));
 }