public static Task <Attachment> UploadPdfAttachment(this IPlanGridApi api, string projectUid, string name, Stream payload, string folder = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(api.UploadAttachment(projectUid, AttachmentUpload.Pdf, name, payload, folder, cancellationToken));
 }