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