/// <summary>
 /// Creates the specified Endpoint using POST and returns a <see cref="GraphResponse{Endpoint}"/> object.
 /// </summary>
 /// <param name="endpointToCreate">The Endpoint to create.</param>
 /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
 /// <returns>The <see cref="GraphResponse{Endpoint}"/> object of the request.</returns>
 public System.Threading.Tasks.Task <GraphResponse <Endpoint> > CreateResponseAsync(Endpoint endpointToCreate, CancellationToken cancellationToken = default)
 {
     this.ContentType = CoreConstants.MimeTypeNames.Application.Json;
     this.Method      = HttpMethods.POST;
     return(this.SendAsyncWithGraphResponse <Endpoint>(endpointToCreate, cancellationToken));
 }
 /// <summary>
 /// Initializes any collection properties after deserialization, like next requests for paging.
 /// </summary>
 /// <param name="endpointToInitialize">The <see cref="Endpoint"/> with the collection properties to initialize.</param>
 private void InitializeCollectionProperties(Endpoint endpointToInitialize)
 {
 }