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