Beispiel #1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="Document" /> class.
 /// </summary>
 /// <param name="documentId">Gets or sets the document id..</param>
 /// <param name="senderDetail">senderDetail.</param>
 /// <param name="ccDetails">Gets or sets the CC details..</param>
 /// <param name="createdDate">Gets or sets the createdDate..</param>
 /// <param name="activityDate">Gets or sets the activityDate..</param>
 /// <param name="activityBy">Gets or sets the activityBy..</param>
 /// <param name="messageTitle">Gets or sets the messageTitle..</param>
 /// <param name="status">status.</param>
 /// <param name="signerDetails">Gets or sets the signerDetails..</param>
 /// <param name="expiryDate">Gets or sets the expiryDate..</param>
 /// <param name="enableSigningOrder">Gets or sets a value indicating whether to enable signing order..</param>
 /// <param name="labels">Gets or sets the labels.</param>
 public Document(string documentId = default, DocumentSenderDetail senderDetail = default, List <DocumentCcDetails> ccDetails = default, long createdDate = default, long?activityDate = default, string activityBy = default, string messageTitle = default, DocumentStatus?status = default, List <DocumentSignerDetails> signerDetails = default, long?expiryDate = default, bool enableSigningOrder = default, List <string> labels = default)
 {
     this.DocumentId         = documentId;
     this.CcDetails          = ccDetails;
     this.ActivityDate       = activityDate;
     this.ActivityBy         = activityBy;
     this.MessageTitle       = messageTitle;
     this.SignerDetails      = signerDetails;
     this.ExpiryDate         = expiryDate;
     this.DocumentId         = documentId;
     this.SenderDetail       = senderDetail;
     this.CcDetails          = ccDetails;
     this.CreatedDate        = createdDate;
     this.ActivityDate       = activityDate;
     this.ActivityBy         = activityBy;
     this.MessageTitle       = messageTitle;
     this.Status             = status;
     this.SignerDetails      = signerDetails;
     this.ExpiryDate         = expiryDate;
     this.EnableSigningOrder = enableSigningOrder;
     this.Labels             = labels;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DocumentProperties" /> class.
 /// </summary>
 /// <param name="documentId">Gets or sets the document id..</param>
 /// <param name="messageTitle">Gets or sets the messageTitle..</param>
 /// <param name="documentDescription">Gets or Sets document description..</param>
 /// <param name="status">status.</param>
 /// <param name="files">Gets or Sets document uploaded file information..</param>
 /// <param name="senderDetail">senderDetail.</param>
 /// <param name="signerDetails">Gets or sets the signerDetails..</param>
 /// <param name="ccDetails">Gets or sets the CC details..</param>
 /// <param name="reminderSettings">reminderSettings.</param>
 /// <param name="reassign">&lt;br&gt;Gets or Sets Reassign message.  &lt;br&gt;Available only when at least one of the signer have reassigned to another signer..</param>
 /// <param name="documentHistory">Gets or Sets document history (Audit log)..</param>
 /// <param name="activityBy">Gets or sets the activityBy..</param>
 /// <param name="activityDate">Gets or sets the activityDate..</param>
 /// <param name="activityAction">activityAction.</param>
 /// <param name="createdDate">Gets or sets the createdDate..</param>
 /// <param name="expiryDays">Gets or Sets expiry days of the document..</param>
 /// <param name="expiryDate">Gets or sets the expiry date of the document..</param>
 /// <param name="enableSigningOrder">Gets or sets a value indicating whether to enable signing order..</param>
 /// <param name="isDeleted">Gets or sets a value indicating whether the document is deleted..</param>
 /// <param name="revokeMessage">&lt;br&gt;Gets or Sets document revoked message by the sender.  &lt;br&gt;Available only when the document is revoked..</param>
 /// <param name="declineMessage">&lt;br&gt;Gets or Sets document declined message by the signer.  &lt;br&gt;Available only when any one of the signer have declined the document..</param>
 public DocumentProperties(string documentId = default(string), string messageTitle = default(string), string documentDescription = default(string), DocumentStatus status = default(DocumentStatus), List <DocumentFiles> files = default(List <DocumentFiles>), DocumentSenderDetail senderDetail = default(DocumentSenderDetail), List <DocumentSignerDetails> signerDetails = default(List <DocumentSignerDetails>), List <DocumentCcDetails> ccDetails = default(List <DocumentCcDetails>), ReminderSettings reminderSettings = default(ReminderSettings), List <DocumentReassign> reassign = default(List <DocumentReassign>), List <AuditTrail> documentHistory = default(List <AuditTrail>), string activityBy = default(string), long?activityDate = default(long?), ActivityAction activityAction = default(ActivityAction), long?createdDate = default(long?), int?expiryDays = default(int?), long?expiryDate = default(long?), bool?enableSigningOrder = default(bool?), bool?isDeleted = default(bool?), string revokeMessage = default(string), string declineMessage = default(string), string brandId = default(string), List <string> labels = default, string applicationId = default(string))
 {
     this.DocumentId          = documentId;
     this.MessageTitle        = messageTitle;
     this.DocumentDescription = documentDescription;
     this.Status             = status;
     this.Files              = files;
     this.SenderDetail       = senderDetail;
     this.SignerDetails      = signerDetails;
     this.CcDetails          = ccDetails;
     this.ReminderSettings   = reminderSettings;
     this.Reassign           = reassign;
     this.DocumentHistory    = documentHistory;
     this.ActivityBy         = activityBy;
     this.ActivityDate       = activityDate;
     this.ActivityAction     = activityAction;
     this.CreatedDate        = createdDate;
     this.ExpiryDays         = expiryDays;
     this.ExpiryDate         = expiryDate;
     this.EnableSigningOrder = enableSigningOrder;
     this.IsDeleted          = isDeleted;
     this.RevokeMessage      = revokeMessage;
     this.DeclineMessage     = declineMessage;
     this.BrandId            = brandId;
     this.ApplicationId      = applicationId;
     this.Labels             = labels;
 }