Class RoleProperties
Role properties.
[DataContract]
public class RoleProperties
- Inheritance
-
RoleProperties
- Inherited Members
Constructors
RoleProperties(string, int, string, string, int, SignerType, List<TemplateFormField>, string, Languages, bool, bool, ImposeAuthentication, bool, bool, Locales)
Initializes a new instance of the RoleProperties class.
public RoleProperties(string name, int index, string defaultSignerName = null, string defaultSignerEmail = null, int signerOrder = 0, SignerType signerType = SignerType.Signer, List<TemplateFormField> formFields = null, string hostEmail = null, Languages language = Languages.English, bool enableAccessCode = false, bool enableEmailOTP = false, ImposeAuthentication imposeAuthentication = ImposeAuthentication.None, bool allowRoleEdit = true, bool allowRoleDelete = true, Locales locale = Locales.EN)
Parameters
namestringGets or sets the name. (required).
indexintGets or sets the role index. (required).
defaultSignerNamestringGets or sets the role signer name. (required).
defaultSignerEmailstringGets or sets the role signer email address. (required).
signerOrderintGets or sets the signer order..
signerTypeSignerTypesignerType.
formFieldsList<TemplateFormField>Gets or sets the formFields..
hostEmailstringGets or sets the hostEmail.
languageLanguagesGets or sets the Language.
enableAccessCodeboolGets or sets indicating whether enable access code recipients.
enableEmailOTPboolGets or sets a value indicating whether enable email otp recipients..
imposeAuthenticationImposeAuthenticationGets or sets the authentication type of template.
allowRoleEditboolGets or sets the allow permission to role edit option of template.
allowRoleDeleteboolGets or sets the allow permission to role delete option of template.
localeLocalesGets or sets the locale.
Properties
AllowFieldConfiguration
Gets or sets a value indicating whether gets or sets the allow field configuration.
[DataMember(Name = "allowFieldConfiguration", EmitDefaultValue = false)]
public bool AllowFieldConfiguration { get; set; }
Property Value
AllowRoleDelete
Gets or sets a value indicating whether the enable allow role delete option is enabled or disabled.
[DataMember(Name = "allowRoleDelete", EmitDefaultValue = true)]
public bool AllowRoleDelete { get; set; }
Property Value
AllowRoleEdit
Gets or sets a value indicating whether the allow role edit option is enabled or disabled.
[DataMember(Name = "allowRoleEdit", EmitDefaultValue = true)]
public bool AllowRoleEdit { get; set; }
Property Value
DefaultSignerEmail
Gets or sets the Default signer Email.
[DataMember(Name = "defaultSignerEmail", EmitDefaultValue = false)]
public string DefaultSignerEmail { get; set; }
Property Value
DefaultSignerName
Gets or sets the Default Signer Name.
[DataMember(Name = "defaultSignerName", EmitDefaultValue = false)]
public string DefaultSignerName { get; set; }
Property Value
DeliveryMode
Gets or Sets a delivery mode.
[DataMember(Name = "deliveryMode", EmitDefaultValue = true)]
public DeliveryMode DeliveryMode { get; set; }
Property Value
- DeliveryMode
Gets or sets the delivery mode.
EnableAccessCode
Gets or sets a value indicating whether enable access code recipients.
[DataMember(Name = "enableAccessCode", EmitDefaultValue = true)]
public bool EnableAccessCode { get; set; }
Property Value
EnableEmailOTP
Gets or sets a value indicating whether enable email otp recipients.
[DataMember(Name = "enableEmailOTP", EmitDefaultValue = true)]
public bool EnableEmailOTP { get; set; }
Property Value
EnableQes
Gets or sets a value indicating whether the enableQes.
[DataMember(Name = "enableQes", EmitDefaultValue = true)]
public bool EnableQes { get; set; }
Property Value
FormFields
Gets or sets document Form fields such as Sign, Checkbox, Radio buttons etc.
[DataMember(Name = "formFields", EmitDefaultValue = true)]
public IEnumerable<TemplateFormField> FormFields { get; set; }
Property Value
HostEmail
Gets or sets the default Host Email.
[DataMember(Name = "hostEmail", EmitDefaultValue = false)]
public string HostEmail { get; set; }
Property Value
ImposeAuthentication
Gets or sets the Authentication Type such as None ,Access Code, EmailOTP.
[DataMember(Name = "imposeAuthentication", EmitDefaultValue = true)]
public ImposeAuthentication ImposeAuthentication { get; set; }
Property Value
Index
Gets or sets the Index value.
[DataMember(Name = "index", EmitDefaultValue = false)]
public int Index { get; set; }
Property Value
Language
Gets or sets Languages such as English, French, Spanish, German.
[DataMember(Name = "language", EmitDefaultValue = true)]
[Obsolete("language is deprecated, please use locale instead")]
public Languages Language { get; set; }
Property Value
Locale
Gets or sets locale such as EN, FR, ES.
[DataMember(Name = "locale", EmitDefaultValue = true)]
public Locales Locale { get; set; }
Property Value
Name
Gets or sets the role Name.
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
Property Value
PhoneNumber
Gets or sets the phone number.
[DataMember(Name = "phoneNumber", EmitDefaultValue = false)]
public PhoneNumber PhoneNumber { get; set; }
Property Value
RecipientNotificationSettings
Gets or sets the Recipient Notification Settings.
[DataMember(Name = "recipientNotificationSettings", EmitDefaultValue = false)]
public RecipientNotificationSettings RecipientNotificationSettings { get; set; }
Property Value
- RecipientNotificationSettings
Gets or sets the Recipient Notification Settings of the signer.
SignerOrder
Gets or sets the signer order value.
[DataMember(Name = "signerOrder", EmitDefaultValue = false)]
public int SignerOrder { get; set; }
Property Value
SignerType
Gets or sets the signer type.
Defaults to Signer.
[DataMember(Name = "signerType", EmitDefaultValue = false)]
public SignerType SignerType { get; set; }
Property Value
Methods
ToJson()
Returns the JSON string presentation of the object.
public virtual string ToJson()
Returns
- string
JSON string presentation of the object.