Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/AgreementInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Name | Type | Description | Notes
**expirationTime** | [**Date**](Date.md) | Time after which Agreement expires and needs to be signed before it. Format should be yyyy-MM-dd'T'HH:mm:ssZ. For example, e.g 2016-02-25T18:46:19Z represents UTC time. Should not be provided in offline agreement creation. | [optional]
**externalId** | [**ExternalId**](ExternalId.md) | An arbitrary value from your system, which can be specified at sending time and then later returned or queried. Should not be provided in offline agreement creation. | [optional]
**fileInfos** | [**List<FileInfo>**](FileInfo.md) | A list of one or more files (or references to files) that will be sent out for signature. If more than one file is provided, they will be combined into one PDF before being sent out. Note: Only one of the four parameters in every FileInfo object must be specified | [optional]
**mergeFieldInfo** | [**List<MergefieldInfo>**](MergefieldInfo.md) | Optional default values for fields to merge into the document. The values will be presented to the signers for editable fields; for read-only fields the provided values will not be editable during the signing process. Merging data into fields is currently not supported when used with libraryDocumentId or libraryDocumentName. Only file and url are currently supported | [optional]
**firstReminderDelay** | **Integer** | Integer which specifies the delay in hours before sending the first reminder.<br>This is an optional field. The minimum value allowed is 1 hour and the maximum value can’t be more than the difference of agreement creation and expiry time of the agreement in hours.<br>If this is not specified but the reminder frequency is specified, then the first reminder will be sent based on frequency.<br>i.e. if the reminder is created with frequency specified as daily, the firstReminderDelay will be 24 hours. Should not be provided in offline agreement creation. | [optional]
**id** | **String** | The unique identifier of the agreement.If provided in POST, it will simply be ignored | [optional]
**locale** | **String** | The locale associated with this agreement - specifies the language for the signing page and emails, for example en_US or fr_FR. If none specified, defaults to the language configured for the agreement sender | [optional]
Expand Down
33 changes: 32 additions & 1 deletion src/main/java/io/swagger/client/model/AgreementInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ public class AgreementInfo {

@SerializedName("postSignOption")
private PostSignOption postSignOption = null;

@SerializedName("mergeFieldInfo")
private List<MergefieldInfo> mergeFieldInfo = null;

/**
* Optional parameter that sets how often you want to send reminders to the participants. If it is not specified, the default frequency set for the account will be used. Should not be provided in offline agreement creation.
Expand Down Expand Up @@ -469,6 +472,19 @@ public void setExternalId(ExternalId externalId) {
this.externalId = externalId;
}

public AgreementInfo mergeFieldInfo(List<MergefieldInfo> mergeFieldInfo) {
this.mergeFieldInfo = mergeFieldInfo;
return this;
}

public AgreementInfo addMergeFieldInfoItem(MergefieldInfo mergeFieldInfoItem) {
if (this.mergeFieldInfo == null) {
this.mergeFieldInfo = new ArrayList<MergefieldInfo>();
}
this.mergeFieldInfo.add(mergeFieldInfoItem);
return this;
}

public AgreementInfo fileInfos(List<FileInfo> fileInfos) {
this.fileInfos = fileInfos;
return this;
Expand All @@ -494,6 +510,19 @@ public List<FileInfo> getFileInfos() {
public void setFileInfos(List<FileInfo> fileInfos) {
this.fileInfos = fileInfos;
}

/**
* Optional default values for fields to merge into the document. The values will be presented to the signers for editable fields; for read-only fields the provided values will not be editable during the signing process. Merging data into fields is currently not supported when used with libraryDocumentId or libraryDocumentName. Only file and url are currently supported
* @return mergeFieldInfo
**/
@ApiModelProperty(value = "Optional default values for fields to merge into the document. The values will be presented to the signers for editable fields; for read-only fields the provided values will not be editable during the signing process. Merging data into fields is currently not supported when used with libraryDocumentId or libraryDocumentName. Only file and url are currently supported")
public List<MergefieldInfo> getMergeFieldInfo() {
return mergeFieldInfo;
}

public void setMergeFieldInfo(List<MergefieldInfo> mergeFieldInfo) {
this.mergeFieldInfo = mergeFieldInfo;
}

public AgreementInfo firstReminderDelay(Integer firstReminderDelay) {
this.firstReminderDelay = firstReminderDelay;
Expand Down Expand Up @@ -791,6 +820,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.expirationTime, agreementInfo.expirationTime) &&
Objects.equals(this.externalId, agreementInfo.externalId) &&
Objects.equals(this.fileInfos, agreementInfo.fileInfos) &&
Objects.equals(this.mergeFieldInfo, agreementInfo.mergeFieldInfo) &&
Objects.equals(this.firstReminderDelay, agreementInfo.firstReminderDelay) &&
Objects.equals(this.id, agreementInfo.id) &&
Objects.equals(this.locale, agreementInfo.locale) &&
Expand All @@ -810,7 +840,7 @@ public boolean equals(java.lang.Object o) {

@Override
public int hashCode() {
return Objects.hash(ccs, createdDate, deviceInfo, documentVisibilityEnabled, emailOption, expirationTime, externalId, fileInfos, firstReminderDelay, id, locale, message, name, participantSetsInfo, postSignOption, reminderFrequency, securityOption, senderEmail, signatureType, state, status, vaultingInfo, workflowId);
return Objects.hash(ccs, createdDate, deviceInfo, documentVisibilityEnabled, emailOption, expirationTime, externalId, fileInfos, mergeFieldInfo, firstReminderDelay, id, locale, message, name, participantSetsInfo, postSignOption, reminderFrequency, securityOption, senderEmail, signatureType, state, status, vaultingInfo, workflowId);
}


Expand All @@ -827,6 +857,7 @@ public String toString() {
sb.append(" expirationTime: ").append(toIndentedString(expirationTime)).append("\n");
sb.append(" externalId: ").append(toIndentedString(externalId)).append("\n");
sb.append(" fileInfos: ").append(toIndentedString(fileInfos)).append("\n");
sb.append(" mergeFieldInfo: ").append(toIndentedString(mergeFieldInfo)).append("\n");
sb.append(" firstReminderDelay: ").append(toIndentedString(firstReminderDelay)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" locale: ").append(toIndentedString(locale)).append("\n");
Expand Down