Class TemplateRole
Template role DTO.
Inheritance
Namespace: BoldSign.Api.Model
Assembly: BoldSign.Api.dll
Syntax
public class TemplateRole : object
Constructors
| Improve this Doc View SourceTemplateRole()
Initializes a new instance of the TemplateRole class.
Declaration
public TemplateRole()
TemplateRole(Int32, String, String, String, Int32, SignerType, List<FormField>, String, ImposeAuthentication, Boolean, Boolean, Locales)
Initializes a new instance of the TemplateRole class.
Declaration
public TemplateRole(int roleIndex, string name, string defaultSignerName = null, string defaultSignerEmail = null, int signerOrder = null, SignerType signerType = default(SignerType), List<FormField> formFields = null, string hostEmail = null, ImposeAuthentication imposeAuthentication = default(ImposeAuthentication), bool allowRoleEdit = true, bool allowRoleDelete = true, Locales locale = Locales.EN)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | roleIndex | Gets or sets the role index. (required). |
System.String | name | Gets or sets the name. (required). |
System.String | defaultSignerName | Gets or sets the role signer name. |
System.String | defaultSignerEmail | Gets or sets the role signer email address. |
System.Int32 | signerOrder | Gets or sets the signer order. |
SignerType | signerType | signerType. |
List<FormField> | formFields | Gets or sets the formFields. |
System.String | hostEmail | Gets or sets the hostEmail. |
ImposeAuthentication | imposeAuthentication | Gets or sets the authentication type of template. |
System.Boolean | allowRoleEdit | Gets or sets the allow permission to role edit option of template. |
System.Boolean | allowRoleDelete | Gets or sets the allow permission to role delete option of template. |
Locales | locale | Gets or sets the locale. |
TemplateRole(String, Int32, String, String, Int32, SignerType, List<FormField>, String, Languages, ImposeAuthentication, Boolean, Boolean)
Initializes a new instance of the TemplateRole class.
Declaration
public TemplateRole(string name, int index, string defaultSignerName = null, string defaultSignerEmail = null, int signerOrder = null, SignerType signerType = default(SignerType), List<FormField> formFields = null, string hostEmail = null, Languages language = default(Languages), ImposeAuthentication imposeAuthentication = default(ImposeAuthentication), bool allowRoleEdit = true, bool allowRoleDelete = true)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Gets or sets the name. (required). |
System.Int32 | index | Gets or sets the role index. (required). |
System.String | defaultSignerName | Gets or sets the role signer name. (required). |
System.String | defaultSignerEmail | Gets or sets the role signer email address. (required). |
System.Int32 | signerOrder | Gets or sets the signer order.. |
SignerType | signerType | signerType. |
List<FormField> | formFields | Gets or sets the formFields.. |
System.String | hostEmail | Gets or sets the hostEmail. |
Languages | language | Gets or sets the Language. |
ImposeAuthentication | imposeAuthentication | Gets or sets the authentication type of template. |
System.Boolean | allowRoleEdit | Gets or sets the allow permission to role edit option of template. |
System.Boolean | allowRoleDelete | Gets or sets the allow permission to role delete option of template. |
Properties
| Improve this Doc View SourceAllowFieldConfiguration
Gets or sets a value indicating whether gets or sets the allow field configuration.
Declaration
public bool AllowFieldConfiguration { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowRoleDelete
Gets or sets a value indicating whether the enable allow role delete option is enabled or disabled.
Declaration
public bool AllowRoleDelete { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowRoleEdit
Gets or sets a value indicating whether the allow role edit option is enabled or disabled.
Declaration
public bool AllowRoleEdit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DefaultSignerEmail
Gets or sets the Default signer Email.
Declaration
public string DefaultSignerEmail { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DefaultSignerName
Gets or sets the Default Signer Name.
Declaration
public string DefaultSignerName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DeliveryMode
Gets or Sets the delivery mode of the signer.
Declaration
public DeliveryMode DeliveryMode { get; set; }
Property Value
Type | Description |
---|---|
DeliveryMode |
FormFields
Gets or sets document Form fields such as Sign, Checkbox, Radio buttons etc.
Declaration
public IEnumerable<FormField> FormFields { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<FormField> |
HostEmail
Gets or sets the default Host Email.
Declaration
public string HostEmail { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ImposeAuthentication
Gets or sets the Authentication Type such as None ,Access Code, EmailOTP.
Declaration
public ImposeAuthentication ImposeAuthentication { get; set; }
Property Value
Type | Description |
---|---|
ImposeAuthentication |
Index
Gets or sets the Index value.
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Language
Gets or sets Languages such as English, French, Spanish, German.
Declaration
public Languages Language { get; set; }
Property Value
Type | Description |
---|---|
Languages |
Locale
Gets or sets locale such as EN, FR, ES.
Declaration
public Locales Locale { get; set; }
Property Value
Type | Description |
---|---|
Locales |
Name
Gets or sets the role Name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PhoneNumber
Gets or sets the phone number.
Declaration
public PhoneNumber PhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
PhoneNumber |
RecipientNotificationSettings
Gets or sets the Recipient Notification Settings.
Declaration
public RecipientNotificationSettings RecipientNotificationSettings { get; set; }
Property Value
Type | Description |
---|---|
RecipientNotificationSettings |
SignerOrder
Gets or sets the signer order value.
Declaration
public int SignerOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SignerType
Gets or sets the signer type.
Defaults to Signer.
Declaration
public SignerType SignerType { get; set; }
Property Value
Type | Description |
---|---|
SignerType |
Methods
| Improve this Doc View SourceToJson()
Returns the JSON string presentation of the object.
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object. |