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
name
stringGets or sets the name. (required).
index
intGets or sets the role index. (required).
defaultSignerName
stringGets or sets the role signer name. (required).
defaultSignerEmail
stringGets or sets the role signer email address. (required).
signerOrder
intGets or sets the signer order..
signerType
SignerTypesignerType.
formFields
List<TemplateFormField>Gets or sets the formFields..
hostEmail
stringGets or sets the hostEmail.
language
LanguagesGets or sets the Language.
enableAccessCode
boolGets or sets indicating whether enable access code recipients.
enableEmailOTP
boolGets or sets a value indicating whether enable email otp recipients..
imposeAuthentication
ImposeAuthenticationGets or sets the authentication type of template.
allowRoleEdit
boolGets or sets the allow permission to role edit option of template.
allowRoleDelete
boolGets or sets the allow permission to role delete option of template.
locale
LocalesGets 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
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.