Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Note" /> class.
 /// </summary>
 /// <param name="AnchorCaseSensitive">Reserved for DocuSign. &lt;!- - When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. - -&gt;.</param>
 /// <param name="AnchorHorizontalAlignment">Reserved for DocuSign. &lt;!- - Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. - -&gt; .</param>
 /// <param name="AnchorIgnoreIfNotPresent">When set to **true**, this tab is ignored if anchorString is not found in the document..</param>
 /// <param name="AnchorMatchWholeWord">Reserved for DocuSign. &lt;!- - When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. - -&gt; .</param>
 /// <param name="AnchorString">Specifies the anchor string..</param>
 /// <param name="AnchorUnits">Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches..</param>
 /// <param name="AnchorXOffset">Specifies the X axis location of the tab, in achorUnits, relative to the anchorString..</param>
 /// <param name="AnchorYOffset">Specifies the Y axis location of the tab, in achorUnits, relative to the anchorString..</param>
 /// <param name="Bold">When set to **true**, the information in the tab is bold..</param>
 /// <param name="ConditionalParentLabel">For conditional fields this is the TabLabel of the parent tab that controls this tab&#39;s visibility..</param>
 /// <param name="ConditionalParentValue">For conditional fields, this is the value of the parent tab that controls the tab&#39;s visibility.  If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \&quot;on\&quot; as the value to show that the parent tab is active. .</param>
 /// <param name="CustomTabId">The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties..</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="ErrorDetails">.</param>
 /// <param name="Font">The font to be used for the tab value. Supported Fonts include:  - Default - Arial - ArialNarrow - Calibri - CourierNew - Garamond - Georgia - Helvetica - LucidaConsole - MSGothic - MSMincho - OCR-A - Tahoma - TimesNewRoman - Trebuchet - Verdana .</param>
 /// <param name="FontColor">The font color used for the information in the tab. Possible values are:   - Black - BrightBlue - BrightRed - DarkGreen - DarkRed - Gold - Green - NavyBlue - Purple - White .</param>
 /// <param name="FontSize">The font size used for the information in the tab. Possible values are:  - Size7 - Size8 - Size9 - Size10 - Size11 - Size12 - Size14 - Size16 - Size18 - Size20 - Size22 - Size24 - Size26 - Size28 - Size36 - Size48 - Size72.</param>
 /// <param name="Height">Height of the tab in pixels..</param>
 /// <param name="Italic">When set to **true**, the information in the tab is italic..</param>
 /// <param name="MergeField">.</param>
 /// <param name="Name">Specifies the tool tip text for the tab..</param>
 /// <param name="PageNumber">Specifies the page number on which the tab is located. Must be 1 for [supplemental documents][supdocs].  [supdocs]: /esign/guide/appendix/glossary.html#supplemental-documents .</param>
 /// <param name="RecipientId">Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document..</param>
 /// <param name="Shared">When set to **true**, this custom tab is shared..</param>
 /// <param name="Status">Tab status &lt;!- - todo - -&gt; .</param>
 /// <param name="TabId">The unique identifier for the tab..</param>
 /// <param name="TabLabel">The label string associated with the tab. The string may be the empty string. If no value is provided, the tab type is used as the value.  Maximum of 500 characters. .</param>
 /// <param name="TabOrder">A positive integer that sets the order the tab is navigated to during signing.  Tabs on a page are navigated to in ascending order, starting with the lowest number and moving to the highest. If two or more tabs have the same &#x60;tabOrder&#x60; value, the normal auto-navigation setting behavior for the envelope is used..</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="Underline">When set to **true**, the information in the tab is underlined..</param>
 /// <param name="Value">Specifies the value of the tab. .</param>
 /// <param name="Width">Width of the tab in pixels..</param>
 /// <param name="XPosition">This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. Required. May be zero. .</param>
 /// <param name="YPosition">This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position..</param>
 public Note(string AnchorCaseSensitive = null, string AnchorHorizontalAlignment = null, string AnchorIgnoreIfNotPresent = null, string AnchorMatchWholeWord = null, string AnchorString = null, string AnchorUnits = null, string AnchorXOffset = null, string AnchorYOffset = null, string Bold = null, string ConditionalParentLabel = null, string ConditionalParentValue = null, string CustomTabId = null, string DocumentId = null, ErrorDetails ErrorDetails = null, string Font = null, string FontColor = null, string FontSize = null, int?Height = null, string Italic = null, MergeField MergeField = null, string Name = null, string PageNumber = null, string RecipientId = null, string Shared = null, string Status = null, string TabId = null, string TabLabel = null, string TabOrder = null, string TemplateLocked = null, string TemplateRequired = null, string Underline = null, string Value = null, int?Width = null, string XPosition = null, string YPosition = null)
 {
     this.AnchorCaseSensitive       = AnchorCaseSensitive;
     this.AnchorHorizontalAlignment = AnchorHorizontalAlignment;
     this.AnchorIgnoreIfNotPresent  = AnchorIgnoreIfNotPresent;
     this.AnchorMatchWholeWord      = AnchorMatchWholeWord;
     this.AnchorString           = AnchorString;
     this.AnchorUnits            = AnchorUnits;
     this.AnchorXOffset          = AnchorXOffset;
     this.AnchorYOffset          = AnchorYOffset;
     this.Bold                   = Bold;
     this.ConditionalParentLabel = ConditionalParentLabel;
     this.ConditionalParentValue = ConditionalParentValue;
     this.CustomTabId            = CustomTabId;
     this.DocumentId             = DocumentId;
     this.ErrorDetails           = ErrorDetails;
     this.Font                   = Font;
     this.FontColor              = FontColor;
     this.FontSize               = FontSize;
     this.Height                 = Height;
     this.Italic                 = Italic;
     this.MergeField             = MergeField;
     this.Name                   = Name;
     this.PageNumber             = PageNumber;
     this.RecipientId            = RecipientId;
     this.Shared                 = Shared;
     this.Status                 = Status;
     this.TabId                  = TabId;
     this.TabLabel               = TabLabel;
     this.TabOrder               = TabOrder;
     this.TemplateLocked         = TemplateLocked;
     this.TemplateRequired       = TemplateRequired;
     this.Underline              = Underline;
     this.Value                  = Value;
     this.Width                  = Width;
     this.XPosition              = XPosition;
     this.YPosition              = YPosition;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NewUser" /> class.
 /// </summary>
 /// <param name="ApiPassword">Contains a token that can be used for authentication in API calls instead of using the user name and password..</param>
 /// <param name="CreatedDateTime">Indicates the date and time the item was created..</param>
 /// <param name="Email">.</param>
 /// <param name="ErrorDetails">.</param>
 /// <param name="PermissionProfileId">.</param>
 /// <param name="PermissionProfileName">.</param>
 /// <param name="Uri">.</param>
 /// <param name="UserId">Specifies the user ID for the new user..</param>
 /// <param name="UserName">.</param>
 /// <param name="UserStatus">Status of the user&#39;s account. One of:  * ActivationRequired * ActivationSent * Active * Closed * Disabled .</param>
 public NewUser(string ApiPassword = null, string CreatedDateTime = null, string Email = null, ErrorDetails ErrorDetails = null, string PermissionProfileId = null, string PermissionProfileName = null, string Uri = null, string UserId = null, string UserName = null, string UserStatus = null)
 {
     this.ApiPassword           = ApiPassword;
     this.CreatedDateTime       = CreatedDateTime;
     this.Email                 = Email;
     this.ErrorDetails          = ErrorDetails;
     this.PermissionProfileId   = PermissionProfileId;
     this.PermissionProfileName = PermissionProfileName;
     this.Uri        = Uri;
     this.UserId     = UserId;
     this.UserName   = UserName;
     this.UserStatus = UserStatus;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WorkspaceUserAuthorization" /> class.
 /// </summary>
 /// <param name="CanDelete">.</param>
 /// <param name="CanMove">.</param>
 /// <param name="CanTransact">.</param>
 /// <param name="CanView">.</param>
 /// <param name="Created">The UTC DateTime when the workspace user authorization was created..</param>
 /// <param name="CreatedById">.</param>
 /// <param name="ErrorDetails">.</param>
 /// <param name="Modified">.</param>
 /// <param name="ModifiedById">.</param>
 /// <param name="WorkspaceUserId">.</param>
 /// <param name="WorkspaceUserInformation">.</param>
 public WorkspaceUserAuthorization(string CanDelete = null, string CanMove = null, string CanTransact = null, string CanView = null, string Created = null, string CreatedById = null, ErrorDetails ErrorDetails = null, string Modified = null, string ModifiedById = null, string WorkspaceUserId = null, WorkspaceUser WorkspaceUserInformation = null)
 {
     this.CanDelete                = CanDelete;
     this.CanMove                  = CanMove;
     this.CanTransact              = CanTransact;
     this.CanView                  = CanView;
     this.Created                  = Created;
     this.CreatedById              = CreatedById;
     this.ErrorDetails             = ErrorDetails;
     this.Modified                 = Modified;
     this.ModifiedById             = ModifiedById;
     this.WorkspaceUserId          = WorkspaceUserId;
     this.WorkspaceUserInformation = WorkspaceUserInformation;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Brand" /> class.
 /// </summary>
 /// <param name="BrandCompany">The name of the company associated with this brand..</param>
 /// <param name="BrandId">The ID used to identify a specific brand in API calls..</param>
 /// <param name="BrandName">The name of the brand..</param>
 /// <param name="Colors">.</param>
 /// <param name="EmailContent">.</param>
 /// <param name="ErrorDetails">.</param>
 /// <param name="IsOverridingCompanyName">.</param>
 /// <param name="IsSendingDefault">.</param>
 /// <param name="IsSigningDefault">.</param>
 /// <param name="LandingPages">.</param>
 /// <param name="Links">.</param>
 /// <param name="Logos">.</param>
 /// <param name="Resources">.</param>
 public Brand(string BrandCompany = null, string BrandId = null, string BrandName = null, List <NameValue> Colors = null, List <BrandEmailContent> EmailContent = null, ErrorDetails ErrorDetails = null, string IsOverridingCompanyName = null, string IsSendingDefault = null, string IsSigningDefault = null, List <NameValue> LandingPages = null, List <BrandLink> Links = null, BrandLogos Logos = null, BrandResourceUrls Resources = null)
 {
     this.BrandCompany            = BrandCompany;
     this.BrandId                 = BrandId;
     this.BrandName               = BrandName;
     this.Colors                  = Colors;
     this.EmailContent            = EmailContent;
     this.ErrorDetails            = ErrorDetails;
     this.IsOverridingCompanyName = IsOverridingCompanyName;
     this.IsSendingDefault        = IsSendingDefault;
     this.IsSigningDefault        = IsSigningDefault;
     this.LandingPages            = LandingPages;
     this.Links     = Links;
     this.Logos     = Logos;
     this.Resources = Resources;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PowerForms" /> class.
 /// </summary>
 /// <param name="CreatedDateTime">Indicates the date and time the item was created..</param>
 /// <param name="EmailBody">Specifies the email body of the message sent to the recipient.   Maximum length: 10000 characters. .</param>
 /// <param name="EmailSubject">Specifies the subject of the email that is sent to all recipients.  See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject..</param>
 /// <param name="Envelopes">.</param>
 /// <param name="ErrorDetails">.</param>
 /// <param name="Instructions">.</param>
 /// <param name="IsActive">.</param>
 /// <param name="LastUsed">.</param>
 /// <param name="LimitUseInterval">.</param>
 /// <param name="LimitUseIntervalEnabled">.</param>
 /// <param name="LimitUseIntervalUnits">.</param>
 /// <param name="MaxUseEnabled">.</param>
 /// <param name="Name">.</param>
 /// <param name="PowerFormId">.</param>
 /// <param name="PowerFormUrl">.</param>
 /// <param name="Recipients">An array of powerform recipients..</param>
 /// <param name="SenderName">.</param>
 /// <param name="SenderUserId">.</param>
 /// <param name="SigningMode">.</param>
 /// <param name="TemplateId">The unique identifier of the template. If this is not provided, DocuSign will generate a value. .</param>
 /// <param name="TemplateName">.</param>
 /// <param name="TimesUsed">.</param>
 /// <param name="Uri">.</param>
 /// <param name="UsesRemaining">.</param>
 public PowerForms(string CreatedDateTime = null, string EmailBody = null, string EmailSubject = null, List <Envelopes> Envelopes = null, ErrorDetails ErrorDetails = null, string Instructions = null, string IsActive = null, string LastUsed = null, string LimitUseInterval = null, string LimitUseIntervalEnabled = null, string LimitUseIntervalUnits = null, string MaxUseEnabled = null, string Name = null, string PowerFormId = null, string PowerFormUrl = null, List <PowerFormRecipient> Recipients = null, string SenderName = null, string SenderUserId = null, string SigningMode = null, string TemplateId = null, string TemplateName = null, string TimesUsed = null, string Uri = null, string UsesRemaining = null)
 {
     this.CreatedDateTime         = CreatedDateTime;
     this.EmailBody               = EmailBody;
     this.EmailSubject            = EmailSubject;
     this.Envelopes               = Envelopes;
     this.ErrorDetails            = ErrorDetails;
     this.Instructions            = Instructions;
     this.IsActive                = IsActive;
     this.LastUsed                = LastUsed;
     this.LimitUseInterval        = LimitUseInterval;
     this.LimitUseIntervalEnabled = LimitUseIntervalEnabled;
     this.LimitUseIntervalUnits   = LimitUseIntervalUnits;
     this.MaxUseEnabled           = MaxUseEnabled;
     this.Name          = Name;
     this.PowerFormId   = PowerFormId;
     this.PowerFormUrl  = PowerFormUrl;
     this.Recipients    = Recipients;
     this.SenderName    = SenderName;
     this.SenderUserId  = SenderUserId;
     this.SigningMode   = SigningMode;
     this.TemplateId    = TemplateId;
     this.TemplateName  = TemplateName;
     this.TimesUsed     = TimesUsed;
     this.Uri           = Uri;
     this.UsesRemaining = UsesRemaining;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InitialHere" /> class.
 /// </summary>
 /// <param name="AnchorCaseSensitive">Reserved for DocuSign. &lt;!- - When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. - -&gt;.</param>
 /// <param name="AnchorHorizontalAlignment">Reserved for DocuSign. &lt;!- - Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. - -&gt; .</param>
 /// <param name="AnchorIgnoreIfNotPresent">When set to **true**, this tab is ignored if anchorString is not found in the document..</param>
 /// <param name="AnchorMatchWholeWord">Reserved for DocuSign. &lt;!- - When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. - -&gt; .</param>
 /// <param name="AnchorString">Specifies the anchor string..</param>
 /// <param name="AnchorUnits">Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches..</param>
 /// <param name="AnchorXOffset">Specifies the X axis location of the tab, in achorUnits, relative to the anchorString..</param>
 /// <param name="AnchorYOffset">Specifies the Y axis location of the tab, in achorUnits, relative to the anchorString..</param>
 /// <param name="ConditionalParentLabel">For conditional fields this is the TabLabel of the parent tab that controls this tab&#39;s visibility..</param>
 /// <param name="ConditionalParentValue">For conditional fields, this is the value of the parent tab that controls the tab&#39;s visibility.  If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \&quot;on\&quot; as the value to show that the parent tab is active. .</param>
 /// <param name="CustomTabId">The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties..</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="ErrorDetails">.</param>
 /// <param name="MergeField">.</param>
 /// <param name="Name">Specifies the tool tip text for the tab..</param>
 /// <param name="Optional">.</param>
 /// <param name="PageNumber">Specifies the page number on which the tab is located. Must be 1 for [supplemental documents][supdocs].  [supdocs]: /esign/guide/appendix/glossary.html#supplemental-documents .</param>
 /// <param name="RecipientId">Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document..</param>
 /// <param name="ScaleValue"> Sets the size for the InitialHere tab. It can be value from 0.5 to 1.0, where 1.0 represents full size and 0.5 is 50% size..</param>
 /// <param name="Status">Tab status &lt;!- - todo - -&gt; .</param>
 /// <param name="TabId">The unique identifier for the tab..</param>
 /// <param name="TabLabel">The label string associated with the tab. The string may be the empty string. If no value is provided, the tab type is used as the value.  Maximum of 500 characters. .</param>
 /// <param name="TabOrder">A positive integer that sets the order the tab is navigated to during signing.  Tabs on a page are navigated to in ascending order, starting with the lowest number and moving to the highest. If two or more tabs have the same &#x60;tabOrder&#x60; value, the normal auto-navigation setting behavior for the envelope is used..</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="XPosition">This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. Required. May be zero. .</param>
 /// <param name="YPosition">This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position..</param>
 public InitialHere(string AnchorCaseSensitive = null, string AnchorHorizontalAlignment = null, string AnchorIgnoreIfNotPresent = null, string AnchorMatchWholeWord = null, string AnchorString = null, string AnchorUnits = null, string AnchorXOffset = null, string AnchorYOffset = null, string ConditionalParentLabel = null, string ConditionalParentValue = null, string CustomTabId = null, string DocumentId = null, ErrorDetails ErrorDetails = null, MergeField MergeField = null, string Name = null, string Optional = null, string PageNumber = null, string RecipientId = null, float?ScaleValue = null, string Status = null, string TabId = null, string TabLabel = null, string TabOrder = null, string TemplateLocked = null, string TemplateRequired = null, string XPosition = null, string YPosition = null)
 {
     this.AnchorCaseSensitive       = AnchorCaseSensitive;
     this.AnchorHorizontalAlignment = AnchorHorizontalAlignment;
     this.AnchorIgnoreIfNotPresent  = AnchorIgnoreIfNotPresent;
     this.AnchorMatchWholeWord      = AnchorMatchWholeWord;
     this.AnchorString           = AnchorString;
     this.AnchorUnits            = AnchorUnits;
     this.AnchorXOffset          = AnchorXOffset;
     this.AnchorYOffset          = AnchorYOffset;
     this.ConditionalParentLabel = ConditionalParentLabel;
     this.ConditionalParentValue = ConditionalParentValue;
     this.CustomTabId            = CustomTabId;
     this.DocumentId             = DocumentId;
     this.ErrorDetails           = ErrorDetails;
     this.MergeField             = MergeField;
     this.Name             = Name;
     this.Optional         = Optional;
     this.PageNumber       = PageNumber;
     this.RecipientId      = RecipientId;
     this.ScaleValue       = ScaleValue;
     this.Status           = Status;
     this.TabId            = TabId;
     this.TabLabel         = TabLabel;
     this.TabOrder         = TabOrder;
     this.TemplateLocked   = TemplateLocked;
     this.TemplateRequired = TemplateRequired;
     this.XPosition        = XPosition;
     this.YPosition        = YPosition;
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BulkEnvelope" /> class.
 /// </summary>
 /// <param name="BulkRecipientRow">Reserved: TBD.</param>
 /// <param name="BulkStatus">Indicates the status of the bulk send operation. Returned values can be: * queued * processing * sent * failed.</param>
 /// <param name="Email">.</param>
 /// <param name="EnvelopeId">The envelope ID of the envelope status that failed to post..</param>
 /// <param name="EnvelopeUri">Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes..</param>
 /// <param name="ErrorDetails">.</param>
 /// <param name="Name">.</param>
 /// <param name="SubmittedDateTime">.</param>
 /// <param name="TransactionId"> Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The &#x60;transactionId&#x60; property can be used determine an envelope&#39;s status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned..</param>
 public BulkEnvelope(string BulkRecipientRow = null, string BulkStatus = null, string Email = null, string EnvelopeId = null, string EnvelopeUri = null, ErrorDetails ErrorDetails = null, string Name = null, string SubmittedDateTime = null, string TransactionId = null)
 {
     this.BulkRecipientRow  = BulkRecipientRow;
     this.BulkStatus        = BulkStatus;
     this.Email             = Email;
     this.EnvelopeId        = EnvelopeId;
     this.EnvelopeUri       = EnvelopeUri;
     this.ErrorDetails      = ErrorDetails;
     this.Name              = Name;
     this.SubmittedDateTime = SubmittedDateTime;
     this.TransactionId     = TransactionId;
 }