Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Document" /> class.
 /// </summary>
 /// <param name="ApplyAnchorTabs">Reserved: TBD.</param>
 /// <param name="Display">.</param>
 /// <param name="DocumentBase64">The document&#39;s bytes. This field can be used to include a base64 version of the document bytes within an envelope definition instead of sending the document using a multi-part HTTP request. The maximum document size is smaller if this field is used due to the overhead of the base64 encoding..</param>
 /// <param name="DocumentFields">.</param>
 /// <param name="DocumentGroup">.</param>
 /// <param name="DocumentId">Specifies the document ID number that the tab is placed on. This must refer to an existing Document&#39;s ID attribute..</param>
 /// <param name="EncryptedWithKeyManager">When set to **true**, the document is been already encrypted by the sender for use with the DocuSign Key Manager Security Appliance.  .</param>
 /// <param name="FileExtension">The file extension type of the document. If the document is not a PDF it is converted to a PDF.  .</param>
 /// <param name="FileFormatHint">.</param>
 /// <param name="HtmlDefinition">HtmlDefinition.</param>
 /// <param name="IncludeInDownload">.</param>
 /// <param name="MatchBoxes">Matchboxes define areas in a document for document matching when you are creating envelopes. They are only used when you upload and edit a template.   A matchbox consists of 5 elements:  * pageNumber - The document page number  on which the matchbox will appear.  * xPosition - The x position of the matchbox on a page.  * yPosition - The y position of the matchbox on a page. * width - The width of the matchbox.  * height - The height of the matchbox.  .</param>
 /// <param name="Name">.</param>
 /// <param name="Order">.</param>
 /// <param name="PageCount">.</param>
 /// <param name="Pages">.</param>
 /// <param name="PageSizes">.</param>
 /// <param name="Password">.</param>
 /// <param name="PdfFormFieldOption">.</param>
 /// <param name="RemoteUrl">The file id from the cloud storage service where the document is located. This information is returned using [ML:GET /folders] or [ML:/folders/{folderid}]. .</param>
 /// <param name="SignerMustAcknowledge">.</param>
 /// <param name="Tabs">Tabs.</param>
 /// <param name="TemplateLocked">When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. .</param>
 /// <param name="TemplateRequired">When set to **true**, the sender may not remove the recipient. Used only when working with template recipients..</param>
 /// <param name="TransformPdfFields">When set to **true**, PDF form field data is transformed into document tab values when the PDF form field name matches the DocuSign custom tab tabLabel. The resulting PDF form data is also returned in the PDF meta data when requesting the document PDF. See the [ML:Transform PDF Fields] section for more information about how fields are transformed into DocuSign tabs. .</param>
 /// <param name="Uri">.</param>
 public Document(string ApplyAnchorTabs = default(string), string Display = default(string), string DocumentBase64 = default(string), List <NameValue> DocumentFields = default(List <NameValue>), string DocumentGroup = default(string), string DocumentId = default(string), string EncryptedWithKeyManager = default(string), string FileExtension = default(string), string FileFormatHint = default(string), DocumentHtmlDefinition HtmlDefinition = default(DocumentHtmlDefinition), string IncludeInDownload = default(string), List <MatchBox> MatchBoxes = default(List <MatchBox>), string Name = default(string), string Order = default(string), string PageCount = default(string), string Pages = default(string), List <PageSize> PageSizes = default(List <PageSize>), string Password = default(string), string PdfFormFieldOption = default(string), string RemoteUrl = default(string), string SignerMustAcknowledge = default(string), Tabs Tabs = default(Tabs), string TemplateLocked = default(string), string TemplateRequired = default(string), string TransformPdfFields = default(string), string Uri = default(string))
 {
     this.ApplyAnchorTabs         = ApplyAnchorTabs;
     this.Display                 = Display;
     this.DocumentBase64          = DocumentBase64;
     this.DocumentFields          = DocumentFields;
     this.DocumentGroup           = DocumentGroup;
     this.DocumentId              = DocumentId;
     this.EncryptedWithKeyManager = EncryptedWithKeyManager;
     this.FileExtension           = FileExtension;
     this.FileFormatHint          = FileFormatHint;
     this.HtmlDefinition          = HtmlDefinition;
     this.IncludeInDownload       = IncludeInDownload;
     this.MatchBoxes              = MatchBoxes;
     this.Name                  = Name;
     this.Order                 = Order;
     this.PageCount             = PageCount;
     this.Pages                 = Pages;
     this.PageSizes             = PageSizes;
     this.Password              = Password;
     this.PdfFormFieldOption    = PdfFormFieldOption;
     this.RemoteUrl             = RemoteUrl;
     this.SignerMustAcknowledge = SignerMustAcknowledge;
     this.Tabs                  = Tabs;
     this.TemplateLocked        = TemplateLocked;
     this.TemplateRequired      = TemplateRequired;
     this.TransformPdfFields    = TransformPdfFields;
     this.Uri = Uri;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DocumentHtmlDefinitionOriginal" /> class.
 /// </summary>
 /// <param name="DocumentId">Specifies the document ID number that the tab is placed on. This must refer to an existing Document&#39;s ID attribute..</param>
 /// <param name="DocumentIdGuid">.</param>
 /// <param name="HtmlDefinition">HtmlDefinition.</param>
 public DocumentHtmlDefinitionOriginal(string DocumentId = default(string), string DocumentIdGuid = default(string), DocumentHtmlDefinition HtmlDefinition = default(DocumentHtmlDefinition))
 {
     this.DocumentId     = DocumentId;
     this.DocumentIdGuid = DocumentIdGuid;
     this.HtmlDefinition = HtmlDefinition;
 }