Class Template
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
stringGets or sets documentId..
senderDetail
TemplateSenderDetailssenderDetail.
ccDetails
List<TemplateCC>Gets or sets the CC details..
createdDate
longGets or sets the createdDate..
activityDate
long?Gets or sets the activityDate..
activityBy
stringGets or sets the activityBy..
messageTitle
stringGets or sets the messageTitle..
status
DocumentStatus?status.
signerDetails
List<TemplateSignerDetails>Gets or sets the signerDetails..
enableSigningOrder
boolGets or sets a value indicating whether the SigningOrder is enabled..
templateName
stringGets or sets the templateName..
templateDescription
stringGets 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
boolGets or sets a value indicating whether get or Set the isTemplate. (default to false).
behalfOf
BehalfOfGets or sets the behalf of details..
templateLabels
List<string>Gets or sets the template labels.
labels
List<string>Gets or sets the labels.
brandId
stringGets 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
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
BrandId
Gets or sets the brandId.
[DataMember(Name = "brandId", EmitDefaultValue = false)]
public string BrandId { get; set; }
Property Value
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
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
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
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
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