/// <summary>
 /// Adds the specified Microsoft.Graph.ExternalConnectors.ExternalConnection to the collection via POST.
 /// </summary>
 /// <param name="externalConnection">The Microsoft.Graph.ExternalConnectors.ExternalConnection to add.</param>
 /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
 /// <returns>The created Microsoft.Graph.ExternalConnectors.ExternalConnection.</returns>
 public System.Threading.Tasks.Task <Microsoft.Graph.ExternalConnectors.ExternalConnection> AddAsync(Microsoft.Graph.ExternalConnectors.ExternalConnection externalConnection, CancellationToken cancellationToken)
 {
     this.ContentType = "application/json";
     this.Method      = "POST";
     return(this.SendAsync <Microsoft.Graph.ExternalConnectors.ExternalConnection>(externalConnection, cancellationToken));
 }
 /// <summary>
 /// Adds the specified Microsoft.Graph.ExternalConnectors.ExternalConnection to the collection via POST.
 /// </summary>
 /// <param name="externalConnection">The Microsoft.Graph.ExternalConnectors.ExternalConnection to add.</param>
 /// <returns>The created Microsoft.Graph.ExternalConnectors.ExternalConnection.</returns>
 public System.Threading.Tasks.Task <Microsoft.Graph.ExternalConnectors.ExternalConnection> AddAsync(Microsoft.Graph.ExternalConnectors.ExternalConnection externalConnection)
 {
     return(this.AddAsync(externalConnection, CancellationToken.None));
 }