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