Table of Contents

Class RoleProperties

Namespace
BoldSign.Api.Model
Assembly
BoldSign.Api.dll

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 string

Gets or sets the name. (required).

index int

Gets or sets the role index. (required).

defaultSignerName string

Gets or sets the role signer name. (required).

defaultSignerEmail string

Gets or sets the role signer email address. (required).

signerOrder int

Gets or sets the signer order..

signerType SignerType

signerType.

formFields List<TemplateFormField>

Gets or sets the formFields..

hostEmail string

Gets or sets the hostEmail.

language Languages

Gets or sets the Language.

enableAccessCode bool

Gets or sets indicating whether enable access code recipients.

enableEmailOTP bool

Gets or sets a value indicating whether enable email otp recipients..

imposeAuthentication ImposeAuthentication

Gets or sets the authentication type of template.

allowRoleEdit bool

Gets or sets the allow permission to role edit option of template.

allowRoleDelete bool

Gets or sets the allow permission to role delete option of template.

locale Locales

Gets 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

bool

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

bool

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

bool

DefaultSignerEmail

Gets or sets the Default signer Email.

[DataMember(Name = "defaultSignerEmail", EmitDefaultValue = false)]
public string DefaultSignerEmail { get; set; }

Property Value

string

DefaultSignerName

Gets or sets the Default Signer Name.

[DataMember(Name = "defaultSignerName", EmitDefaultValue = false)]
public string DefaultSignerName { get; set; }

Property Value

string

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

bool

EnableEmailOTP

Gets or sets a value indicating whether enable email otp recipients.

[DataMember(Name = "enableEmailOTP", EmitDefaultValue = true)]
public bool EnableEmailOTP { get; set; }

Property Value

bool

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

IEnumerable<TemplateFormField>

HostEmail

Gets or sets the default Host Email.

[DataMember(Name = "hostEmail", EmitDefaultValue = false)]
public string HostEmail { get; set; }

Property Value

string

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

ImposeAuthentication

Index

Gets or sets the Index value.

[DataMember(Name = "index", EmitDefaultValue = false)]
public int Index { get; set; }

Property Value

int

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

Languages

Locale

Gets or sets locale such as EN, FR, ES.

[DataMember(Name = "locale", EmitDefaultValue = true)]
public Locales Locale { get; set; }

Property Value

Locales

Name

Gets or sets the role Name.

[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }

Property Value

string

PhoneNumber

Gets or sets the phone number.

[DataMember(Name = "phoneNumber", EmitDefaultValue = false)]
public PhoneNumber PhoneNumber { get; set; }

Property Value

PhoneNumber

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

int

SignerType

Gets or sets the signer type.

Defaults to Signer.

[DataMember(Name = "signerType", EmitDefaultValue = false)]
public SignerType SignerType { get; set; }

Property Value

SignerType

Methods

ToJson()

Returns the JSON string presentation of the object.

public virtual string ToJson()

Returns

string

JSON string presentation of the object.