Class Document
The documents properties include users who acted on it, activity date, cc details, created date, and so on.
[DataContract]
public class Document
- Inheritance
-
Document
- Derived
- Inherited Members
Constructors
Document(string, DocumentSenderDetail, List<DocumentCcDetails>, long, long?, string, string, DocumentStatus?, List<DocumentSignerDetails>, long?, bool, List<string>, long?, string, long?)
Initializes a new instance of the Document class.
public Document(string documentId = null, DocumentSenderDetail senderDetail = null, List<DocumentCcDetails> ccDetails = null, long createdDate = 0, long? activityDate = null, string activityBy = null, string messageTitle = null, DocumentStatus? status = null, List<DocumentSignerDetails> signerDetails = null, long? expiryDate = null, bool enableSigningOrder = false, List<string> labels = null, long? cursor = null, string brandId = null, long? scheduledSendTime = null)
Parameters
documentIdstringGets or sets the document id..
senderDetailDocumentSenderDetailsenderDetail.
ccDetailsList<DocumentCcDetails>Gets or sets the CC details..
createdDatelongGets or sets the createdDate..
activityDatelong?Gets or sets the activityDate..
activityBystringGets or sets the activityBy..
messageTitlestringGets or sets the messageTitle..
statusDocumentStatus?status.
signerDetailsList<DocumentSignerDetails>Gets or sets the signerDetails..
expiryDatelong?Gets or sets the expiryDate..
enableSigningOrderboolGets or sets a value indicating whether to enable signing order..
labelsList<string>Gets or sets the labels.
cursorlong?Gets or sets the cursor.
brandIdstringGets or sets the brandId.
scheduledSendTimelong?Gets or sets the scheduledSendTime.
Properties
ActivityBy
Gets or sets the name of the user who performed action.
[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.
[DataMember(Name = "activityDate", EmitDefaultValue = true)]
public long? ActivityDate { get; set; }
Property Value
- long?
Gets or sets the activityDate.
BrandId
Gets or sets a 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<DocumentCcDetails> CcDetails { get; set; }
Property Value
- List<DocumentCcDetails>
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.
Cursor
Gets or sets the cursor.
[DataMember(Name = "cursor", EmitDefaultValue = false)]
public long? Cursor { get; set; }
Property Value
- long?
DocumentId
Gets or sets the document Id.
[DataMember(Name = "documentId", EmitDefaultValue = true)]
public string DocumentId { get; set; }
Property Value
- string
Gets or sets the document Id.
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 to enable signing order.
ExpiryDate
Gets or sets the expiry date.
[DataMember(Name = "expiryDate", EmitDefaultValue = true)]
public long? ExpiryDate { get; set; }
Property Value
- long?
Gets or sets the expiryDate.
Labels
Gets or sets a 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.
ScheduledSendTime
Gets or sets the document scheduled date.
[DataMember(Name = "scheduledSendTime", EmitDefaultValue = true)]
public long? ScheduledSendTime { get; set; }
Property Value
- long?
Gets or sets the value indiacting document scheduled date.
SenderDetail
Gets or sets sender detail of a document.
[DataMember(Name = "senderDetail", EmitDefaultValue = false)]
public DocumentSenderDetail SenderDetail { get; set; }
Property Value
SignerDetails
Gets or sets the signer details for a document.
[DataMember(Name = "signerDetails", EmitDefaultValue = true)]
public List<DocumentSignerDetails> SignerDetails { get; set; }
Property Value
- List<DocumentSignerDetails>
Gets or sets the signerDetails.
Status
Gets or Sets document status.
[DataMember(Name = "status", EmitDefaultValue = false)]
public DocumentStatus? Status { 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