Ejemplo n.º 1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="SendForSignFromTemplate" /> class.
 /// </summary>
 /// <param name="templateId">Gets or sets the document id..</param>
 /// <param name="title">Gets or sets the title..</param>
 /// <param name="message">Gets or sets the message..</param>
 /// <param name="roles">Gets or sets the roles..</param>
 /// <param name="brandId">Gets or sets the brandId..</param>
 /// <param name="labels">Gets or sets the labels.</param>
 /// <param name="disableEmails">Gets or sets the disableEmails.</param>
 /// <param name="hideDocumentId">Gets or sets the hideDocumentId.</param>
 /// <param name="reminderSettings">Gets or sets the reminderSettings.</param>
 /// <param name="cc">Gets or sets the cc.</param>
 /// <param name="expiryDays">Gets or sets the expiryDays.</param>
 /// <param name="documentInfo">Gets or sets the documentInfo.</param>
 public SendForSignFromTemplate(
     string templateId    = default,
     string title         = default,
     string message       = default,
     List <Roles> roles   = default,
     string brandId       = default,
     List <string> labels = default,
     bool disableEmails   = default,
     bool hideDocumentId  = default,
     ReminderSettings reminderSettings = default,
     IEnumerable <DocumentCC> cc       = default,
     int expiryDays = 60,
     IEnumerable <DocumentInfo> documentInfo = default)
 {
     this.TemplateId       = templateId;
     this.Title            = title;
     this.Message          = message;
     this.Roles            = roles;
     this.TemplateId       = templateId;
     this.Title            = title;
     this.Message          = message;
     this.Roles            = roles;
     this.BrandId          = brandId;
     this.Labels           = labels;
     this.DisableEmails    = disableEmails;
     this.HideDocumentId   = hideDocumentId;
     this.ReminderSettings = reminderSettings;
     this.CC           = cc;
     this.ExpiryDays   = expiryDays;
     this.DocumentInfo = documentInfo;
 }
Ejemplo n.º 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;
 }