Table of Contents

Class Template

Namespace
BoldSign.Model
Assembly
BoldSign.Api.dll

Template Document DTO.

[DataContract]
public class Template
Inheritance
Template
Inherited Members

Constructors

Template(string, TemplateSenderDetails, List<TemplateCC>, long, long?, string, string, DocumentStatus?, List<TemplateSignerDetails>, bool, string, string, TemplateAccessType?, string, bool, BehalfOf, List<string>, List<string>, string)

Initializes a new instance of the Template class.

public Template(string documentId = null, TemplateSenderDetails senderDetail = null, List<TemplateCC> ccDetails = null, long createdDate = 0, long? activityDate = null, string activityBy = null, string messageTitle = null, DocumentStatus? status = null, List<TemplateSignerDetails> signerDetails = null, bool enableSigningOrder = false, string templateName = null, string templateDescription = null, TemplateAccessType? accessType = null, string accessTid = null, bool isTemplate = false, BehalfOf behalfOf = null, List<string> templateLabels = null, List<string> labels = null, string brandId = null)

Parameters

documentId string

Gets or sets documentId..

senderDetail TemplateSenderDetails

senderDetail.

ccDetails List<TemplateCC>

Gets or sets the CC details..

createdDate long

Gets or sets the createdDate..

activityDate long?

Gets or sets the activityDate..

activityBy string

Gets or sets the activityBy..

messageTitle string

Gets or sets the messageTitle..

status DocumentStatus?

status.

signerDetails List<TemplateSignerDetails>

Gets or sets the signerDetails..

enableSigningOrder bool

Gets or sets a value indicating whether the SigningOrder is enabled..

templateName string

Gets or sets the templateName..

templateDescription string

Gets or sets the templateDescription..

accessType TemplateAccessType?

accessType.

accessTid string

<br> Gets or sets the shared Team ID. <br>The value represents the Team ID of the template shared to..

isTemplate bool

Gets or sets a value indicating whether get or Set the isTemplate. (default to false).

behalfOf BehalfOf

Gets or sets the behalf of details..

templateLabels List<string>

Gets or sets the template labels.

labels List<string>

Gets or sets the labels.

brandId string

Gets or sets the brandId.

Properties

AccessTid

<br> Gets or sets the shared Team ID. <br>The value represents the Team ID of the template shared to.

[DataMember(Name = "accessTid", EmitDefaultValue = true)]
public string AccessTid { get; set; }

Property Value

string

<br> Gets or sets the shared Team ID. <br>The value represents the Team ID of the template shared to.

AccessType

Gets or sets template access type.

[DataMember(Name = "accessType", EmitDefaultValue = false)]
public TemplateAccessType? AccessType { get; set; }

Property Value

TemplateAccessType?

ActivityBy

Gets or sets the name of the user who performed an action on a document.

[DataMember(Name = "activityBy", EmitDefaultValue = true)]
public string ActivityBy { get; set; }

Property Value

string

Gets or sets the activityBy.

ActivityDate

Gets or sets the activity date which is the date of any particular action by user on a document.

[DataMember(Name = "activityDate", EmitDefaultValue = true)]
public long? ActivityDate { get; set; }

Property Value

long?

Gets or sets the activityDate.

BehalfOf

Gets or sets the behalf of details.

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

Property Value

BehalfOf

BrandId

Gets or sets the brandId.

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

Property Value

string

CcDetails

Gets or sets the CC details.

[DataMember(Name = "ccDetails", EmitDefaultValue = true)]
public List<TemplateCC> CcDetails { get; set; }

Property Value

List<TemplateCC>

Gets or sets the CC details.

CreatedDate

Gets or sets the created date.

[DataMember(Name = "createdDate", EmitDefaultValue = false)]
public long CreatedDate { get; set; }

Property Value

long

Gets or sets the createdDate.

DocumentId

Gets or sets document Id.

[DataMember(Name = "documentId", EmitDefaultValue = true)]
public string DocumentId { get; set; }

Property Value

string

Gets or sets documentId.

EnableSigningOrder

Gets or sets a value indicating whether signing order is enabled.

[DataMember(Name = "enableSigningOrder", EmitDefaultValue = false)]
public bool EnableSigningOrder { get; set; }

Property Value

bool

Gets or sets a value indicating whether the SigningOrder is enabled.

IsTemplate

Gets or sets a value indicating whether it is a template.

[DataMember(Name = "isTemplate", EmitDefaultValue = false)]
public bool IsTemplate { get; set; }

Property Value

bool

Gets or sets a value indicating whether get or Set the isTemplate.

Labels

Gets or sets the labels.

[DataMember(Name = "labels", EmitDefaultValue = false)]
public List<string> Labels { get; set; }

Property Value

List<string>

MessageTitle

Gets or sets the message title.

[DataMember(Name = "messageTitle", EmitDefaultValue = true)]
public string MessageTitle { get; set; }

Property Value

string

Gets or sets the messageTitle.

SenderDetail

Gets or sets sender details.

[DataMember(Name = "senderDetail", EmitDefaultValue = false)]
public TemplateSenderDetails SenderDetail { get; set; }

Property Value

TemplateSenderDetails

SignerDetails

Gets or sets the signer details.

[DataMember(Name = "signerDetails", EmitDefaultValue = true)]
public List<TemplateSignerDetails> SignerDetails { get; set; }

Property Value

List<TemplateSignerDetails>

Gets or sets the signerDetails.

Status

Gets or sets the document status.

[DataMember(Name = "status", EmitDefaultValue = false)]
public DocumentStatus? Status { get; set; }

Property Value

DocumentStatus?

TemplateDescription

Gets or sets the template description.

[DataMember(Name = "templateDescription", EmitDefaultValue = true)]
public string TemplateDescription { get; set; }

Property Value

string

Gets or sets the templateDescription.

TemplateLabels

Gets or sets the template labels.

[DataMember(Name = "templateLabels", EmitDefaultValue = false)]
public List<string> TemplateLabels { get; set; }

Property Value

List<string>

TemplateName

Gets or sets the template name.

[DataMember(Name = "templateName", EmitDefaultValue = true)]
public string TemplateName { get; set; }

Property Value

string

Gets or sets the templateName.

Methods

ToJson()

Returns the JSON string presentation of the object

public virtual string ToJson()

Returns

string

JSON string presentation of the object