/// <summary>
 /// Initializes a new instance of the <see cref="RecipientAdditionalNotification" /> class.
 /// </summary>
 /// <param name="PhoneNumber">PhoneNumber.</param>
 /// <param name="SecondaryDeliveryMethod">SecondaryDeliveryMethod.</param>
 /// <param name="SecondaryDeliveryMethodMetadata">SecondaryDeliveryMethodMetadata.</param>
 /// <param name="SecondaryDeliveryStatus">SecondaryDeliveryStatus.</param>
 public RecipientAdditionalNotification(RecipientPhoneNumber PhoneNumber = default(RecipientPhoneNumber), string SecondaryDeliveryMethod = default(string), PropertyMetadata SecondaryDeliveryMethodMetadata = default(PropertyMetadata), string SecondaryDeliveryStatus = default(string))
 {
     this.PhoneNumber                     = PhoneNumber;
     this.SecondaryDeliveryMethod         = SecondaryDeliveryMethod;
     this.SecondaryDeliveryMethodMetadata = SecondaryDeliveryMethodMetadata;
     this.SecondaryDeliveryStatus         = SecondaryDeliveryStatus;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TemplateRole" /> class.
 /// </summary>
 /// <param name="AccessCode">If a value is provided, the recipient must enter the value as the access code to view and sign the envelope.   Maximum Length: 50 characters and it must conform to the account&#39;s access code format setting.  If blank, but the signer &#x60;accessCode&#x60; property is set in the envelope, then that value is used.  If blank and the signer &#x60;accessCode&#x60; property is not set, then the access code is not required..</param>
 /// <param name="AdditionalNotifications">AdditionalNotifications.</param>
 /// <param name="ClientUserId">Specifies whether the recipient is embedded or remote.   If the &#x60;clientUserId&#x60; property is not null then the recipient is embedded. Note that if the &#x60;ClientUserId&#x60; property is set and either &#x60;SignerMustHaveAccount&#x60; or &#x60;SignerMustLoginToSign&#x60; property of the account settings is set to  **true**, an error is generated on sending.ng.   Maximum length: 100 characters. .</param>
 /// <param name="DefaultRecipient">When set to **true**, this recipient is the default recipient and any tabs generated by the transformPdfFields option are mapped to this recipient..</param>
 /// <param name="Email">Specifies the email associated with a role name..</param>
 /// <param name="EmailNotification">EmailNotification.</param>
 /// <param name="EmbeddedRecipientStartURL">Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender&#39;s system (the server responding to the URL) must request a recipient token to launch a signing session.   If set to &#x60;SIGN_AT_DOCUSIGN&#x60;, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner.  It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient&#39;s identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets &#x60;EmbeddedRecipientStartURL&#x3D;SIGN_AT_DOCUSIGN&#x60;, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient.  If the &#x60;clientUserId&#x60; property is NOT set, and the &#x60;embeddedRecipientStartURL&#x60; is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The &#x60;customFields&#x60; property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets.   *Example*:   &#x60;http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&amp;[[mergeField3]]&#x60; .</param>
 /// <param name="InPersonSignerName">Specifies the full legal name of the signer in person signer template roles.  Maximum Length: 100 characters..</param>
 /// <param name="Name">Specifies the recipient&#39;s name..</param>
 /// <param name="PhoneNumber">PhoneNumber.</param>
 /// <param name="RecipientSignatureProviders">RecipientSignatureProviders.</param>
 /// <param name="RoleName">Optional element. Specifies the role name associated with the recipient.&lt;br/&gt;&lt;br/&gt;This is required when working with template recipients..</param>
 /// <param name="RoutingOrder">Specifies the routing order of the recipient in the envelope. .</param>
 /// <param name="SigningGroupId">When set to **true** and the feature is enabled in the sender&#39;s account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once)..</param>
 /// <param name="Tabs">Tabs.</param>
 public TemplateRole(string AccessCode = default(string), List <RecipientAdditionalNotification> AdditionalNotifications = default(List <RecipientAdditionalNotification>), string ClientUserId = default(string), string DefaultRecipient = default(string), string Email = default(string), RecipientEmailNotification EmailNotification = default(RecipientEmailNotification), string EmbeddedRecipientStartURL = default(string), string InPersonSignerName = default(string), string Name = default(string), RecipientPhoneNumber PhoneNumber = default(RecipientPhoneNumber), List <RecipientSignatureProvider> RecipientSignatureProviders = default(List <RecipientSignatureProvider>), string RoleName = default(string), string RoutingOrder = default(string), string SigningGroupId = default(string), Tabs Tabs = default(Tabs))
 {
     this.AccessCode = AccessCode;
     this.AdditionalNotifications = AdditionalNotifications;
     this.ClientUserId            = ClientUserId;
     this.DefaultRecipient        = DefaultRecipient;
     this.Email                     = Email;
     this.EmailNotification         = EmailNotification;
     this.EmbeddedRecipientStartURL = EmbeddedRecipientStartURL;
     this.InPersonSignerName        = InPersonSignerName;
     this.Name        = Name;
     this.PhoneNumber = PhoneNumber;
     this.RecipientSignatureProviders = RecipientSignatureProviders;
     this.RoleName       = RoleName;
     this.RoutingOrder   = RoutingOrder;
     this.SigningGroupId = SigningGroupId;
     this.Tabs           = Tabs;
 }