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