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)
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)
Parameters
documentId
stringGets or sets the document id..
senderDetail
DocumentSenderDetailsenderDetail.
ccDetails
List<DocumentCcDetails>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<DocumentSignerDetails>Gets or sets the signerDetails..
expiryDate
long?Gets or sets the expiryDate..
enableSigningOrder
boolGets or sets a value indicating whether to enable signing order..
labels
List<string>Gets or sets the labels.
cursor
long?Gets or sets the cursor.
brandId
stringGets or sets the brandId.
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.
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