com.docusign.click.model.ClickwrapVersionResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docusign-click-java Show documentation
Show all versions of docusign-click-java Show documentation
The official DocuSign Click Java client provides libraries for Java application integration with DocuSign Click API. It is recommended that you use this version of the library for new development.
package com.docusign.click.model;
import java.util.Objects;
import java.util.Arrays;
import com.docusign.click.model.ClickwrapScheduledReacceptance;
import com.docusign.click.model.DisplaySettings;
import com.docusign.click.model.Document;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* ClickwrapVersionResponse.
*
*/
public class ClickwrapVersionResponse {
@JsonProperty("accountId")
private String accountId = null;
@JsonProperty("clickwrapId")
private String clickwrapId = null;
@JsonProperty("clickwrapName")
private String clickwrapName = null;
@JsonProperty("clickwrapVersionId")
private String clickwrapVersionId = null;
@JsonProperty("createdTime")
private Object createdTime = null;
@JsonProperty("displaySettings")
private DisplaySettings displaySettings = null;
@JsonProperty("documents")
private java.util.List documents = null;
@JsonProperty("lastModified")
private Object lastModified = null;
@JsonProperty("lastModifiedBy")
private String lastModifiedBy = null;
@JsonProperty("ownerUserId")
private String ownerUserId = null;
@JsonProperty("requireReacceptance")
private Boolean requireReacceptance = null;
@JsonProperty("scheduledDate")
private Object scheduledDate = null;
@JsonProperty("scheduledReacceptance")
private ClickwrapScheduledReacceptance scheduledReacceptance = null;
@JsonProperty("status")
private String status = null;
@JsonProperty("versionId")
private String versionId = null;
@JsonProperty("versionNumber")
private String versionNumber = null;
/**
* accountId.
*
* @return ClickwrapVersionResponse
**/
public ClickwrapVersionResponse accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* .
* @return accountId
**/
@ApiModelProperty(value = "")
public String getAccountId() {
return accountId;
}
/**
* setAccountId.
**/
public void setAccountId(String accountId) {
this.accountId = accountId;
}
/**
* clickwrapId.
*
* @return ClickwrapVersionResponse
**/
public ClickwrapVersionResponse clickwrapId(String clickwrapId) {
this.clickwrapId = clickwrapId;
return this;
}
/**
* .
* @return clickwrapId
**/
@ApiModelProperty(value = "")
public String getClickwrapId() {
return clickwrapId;
}
/**
* setClickwrapId.
**/
public void setClickwrapId(String clickwrapId) {
this.clickwrapId = clickwrapId;
}
/**
* clickwrapName.
*
* @return ClickwrapVersionResponse
**/
public ClickwrapVersionResponse clickwrapName(String clickwrapName) {
this.clickwrapName = clickwrapName;
return this;
}
/**
* .
* @return clickwrapName
**/
@ApiModelProperty(value = "")
public String getClickwrapName() {
return clickwrapName;
}
/**
* setClickwrapName.
**/
public void setClickwrapName(String clickwrapName) {
this.clickwrapName = clickwrapName;
}
/**
* clickwrapVersionId.
*
* @return ClickwrapVersionResponse
**/
public ClickwrapVersionResponse clickwrapVersionId(String clickwrapVersionId) {
this.clickwrapVersionId = clickwrapVersionId;
return this;
}
/**
* .
* @return clickwrapVersionId
**/
@ApiModelProperty(value = "")
public String getClickwrapVersionId() {
return clickwrapVersionId;
}
/**
* setClickwrapVersionId.
**/
public void setClickwrapVersionId(String clickwrapVersionId) {
this.clickwrapVersionId = clickwrapVersionId;
}
/**
* createdTime.
*
* @return ClickwrapVersionResponse
**/
public ClickwrapVersionResponse createdTime(Object createdTime) {
this.createdTime = createdTime;
return this;
}
/**
* .
* @return createdTime
**/
@ApiModelProperty(value = "")
public Object getCreatedTime() {
return createdTime;
}
/**
* setCreatedTime.
**/
public void setCreatedTime(Object createdTime) {
this.createdTime = createdTime;
}
/**
* displaySettings.
*
* @return ClickwrapVersionResponse
**/
public ClickwrapVersionResponse displaySettings(DisplaySettings displaySettings) {
this.displaySettings = displaySettings;
return this;
}
/**
* Get displaySettings.
* @return displaySettings
**/
@ApiModelProperty(value = "")
public DisplaySettings getDisplaySettings() {
return displaySettings;
}
/**
* setDisplaySettings.
**/
public void setDisplaySettings(DisplaySettings displaySettings) {
this.displaySettings = displaySettings;
}
/**
* documents.
*
* @return ClickwrapVersionResponse
**/
public ClickwrapVersionResponse documents(java.util.List documents) {
this.documents = documents;
return this;
}
/**
* addDocumentsItem.
*
* @return ClickwrapVersionResponse
**/
public ClickwrapVersionResponse addDocumentsItem(Document documentsItem) {
if (this.documents == null) {
this.documents = new java.util.ArrayList();
}
this.documents.add(documentsItem);
return this;
}
/**
* .
* @return documents
**/
@ApiModelProperty(value = "")
public java.util.List getDocuments() {
return documents;
}
/**
* setDocuments.
**/
public void setDocuments(java.util.List documents) {
this.documents = documents;
}
/**
* lastModified.
*
* @return ClickwrapVersionResponse
**/
public ClickwrapVersionResponse lastModified(Object lastModified) {
this.lastModified = lastModified;
return this;
}
/**
* .
* @return lastModified
**/
@ApiModelProperty(value = "")
public Object getLastModified() {
return lastModified;
}
/**
* setLastModified.
**/
public void setLastModified(Object lastModified) {
this.lastModified = lastModified;
}
/**
* lastModifiedBy.
*
* @return ClickwrapVersionResponse
**/
public ClickwrapVersionResponse lastModifiedBy(String lastModifiedBy) {
this.lastModifiedBy = lastModifiedBy;
return this;
}
/**
* .
* @return lastModifiedBy
**/
@ApiModelProperty(value = "")
public String getLastModifiedBy() {
return lastModifiedBy;
}
/**
* setLastModifiedBy.
**/
public void setLastModifiedBy(String lastModifiedBy) {
this.lastModifiedBy = lastModifiedBy;
}
/**
* ownerUserId.
*
* @return ClickwrapVersionResponse
**/
public ClickwrapVersionResponse ownerUserId(String ownerUserId) {
this.ownerUserId = ownerUserId;
return this;
}
/**
* .
* @return ownerUserId
**/
@ApiModelProperty(value = "")
public String getOwnerUserId() {
return ownerUserId;
}
/**
* setOwnerUserId.
**/
public void setOwnerUserId(String ownerUserId) {
this.ownerUserId = ownerUserId;
}
/**
* requireReacceptance.
*
* @return ClickwrapVersionResponse
**/
public ClickwrapVersionResponse requireReacceptance(Boolean requireReacceptance) {
this.requireReacceptance = requireReacceptance;
return this;
}
/**
* .
* @return requireReacceptance
**/
@ApiModelProperty(value = "")
public Boolean isRequireReacceptance() {
return requireReacceptance;
}
/**
* setRequireReacceptance.
**/
public void setRequireReacceptance(Boolean requireReacceptance) {
this.requireReacceptance = requireReacceptance;
}
/**
* scheduledDate.
*
* @return ClickwrapVersionResponse
**/
public ClickwrapVersionResponse scheduledDate(Object scheduledDate) {
this.scheduledDate = scheduledDate;
return this;
}
/**
* .
* @return scheduledDate
**/
@ApiModelProperty(value = "")
public Object getScheduledDate() {
return scheduledDate;
}
/**
* setScheduledDate.
**/
public void setScheduledDate(Object scheduledDate) {
this.scheduledDate = scheduledDate;
}
/**
* scheduledReacceptance.
*
* @return ClickwrapVersionResponse
**/
public ClickwrapVersionResponse scheduledReacceptance(ClickwrapScheduledReacceptance scheduledReacceptance) {
this.scheduledReacceptance = scheduledReacceptance;
return this;
}
/**
* Get scheduledReacceptance.
* @return scheduledReacceptance
**/
@ApiModelProperty(value = "")
public ClickwrapScheduledReacceptance getScheduledReacceptance() {
return scheduledReacceptance;
}
/**
* setScheduledReacceptance.
**/
public void setScheduledReacceptance(ClickwrapScheduledReacceptance scheduledReacceptance) {
this.scheduledReacceptance = scheduledReacceptance;
}
/**
* status.
*
* @return ClickwrapVersionResponse
**/
public ClickwrapVersionResponse status(String status) {
this.status = status;
return this;
}
/**
* .
* @return status
**/
@ApiModelProperty(value = "")
public String getStatus() {
return status;
}
/**
* setStatus.
**/
public void setStatus(String status) {
this.status = status;
}
/**
* versionId.
*
* @return ClickwrapVersionResponse
**/
public ClickwrapVersionResponse versionId(String versionId) {
this.versionId = versionId;
return this;
}
/**
* .
* @return versionId
**/
@ApiModelProperty(value = "")
public String getVersionId() {
return versionId;
}
/**
* setVersionId.
**/
public void setVersionId(String versionId) {
this.versionId = versionId;
}
/**
* versionNumber.
*
* @return ClickwrapVersionResponse
**/
public ClickwrapVersionResponse versionNumber(String versionNumber) {
this.versionNumber = versionNumber;
return this;
}
/**
* .
* @return versionNumber
**/
@ApiModelProperty(value = "")
public String getVersionNumber() {
return versionNumber;
}
/**
* setVersionNumber.
**/
public void setVersionNumber(String versionNumber) {
this.versionNumber = versionNumber;
}
/**
* Compares objects.
*
* @return true or false depending on comparison result.
*/
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ClickwrapVersionResponse clickwrapVersionResponse = (ClickwrapVersionResponse) o;
return Objects.equals(this.accountId, clickwrapVersionResponse.accountId) &&
Objects.equals(this.clickwrapId, clickwrapVersionResponse.clickwrapId) &&
Objects.equals(this.clickwrapName, clickwrapVersionResponse.clickwrapName) &&
Objects.equals(this.clickwrapVersionId, clickwrapVersionResponse.clickwrapVersionId) &&
Objects.equals(this.createdTime, clickwrapVersionResponse.createdTime) &&
Objects.equals(this.displaySettings, clickwrapVersionResponse.displaySettings) &&
Objects.equals(this.documents, clickwrapVersionResponse.documents) &&
Objects.equals(this.lastModified, clickwrapVersionResponse.lastModified) &&
Objects.equals(this.lastModifiedBy, clickwrapVersionResponse.lastModifiedBy) &&
Objects.equals(this.ownerUserId, clickwrapVersionResponse.ownerUserId) &&
Objects.equals(this.requireReacceptance, clickwrapVersionResponse.requireReacceptance) &&
Objects.equals(this.scheduledDate, clickwrapVersionResponse.scheduledDate) &&
Objects.equals(this.scheduledReacceptance, clickwrapVersionResponse.scheduledReacceptance) &&
Objects.equals(this.status, clickwrapVersionResponse.status) &&
Objects.equals(this.versionId, clickwrapVersionResponse.versionId) &&
Objects.equals(this.versionNumber, clickwrapVersionResponse.versionNumber);
}
/**
* Returns the HashCode.
*/
@Override
public int hashCode() {
return Objects.hash(accountId, clickwrapId, clickwrapName, clickwrapVersionId, createdTime, displaySettings, documents, lastModified, lastModifiedBy, ownerUserId, requireReacceptance, scheduledDate, scheduledReacceptance, status, versionId, versionNumber);
}
/**
* Converts the given object to string.
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ClickwrapVersionResponse {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" clickwrapId: ").append(toIndentedString(clickwrapId)).append("\n");
sb.append(" clickwrapName: ").append(toIndentedString(clickwrapName)).append("\n");
sb.append(" clickwrapVersionId: ").append(toIndentedString(clickwrapVersionId)).append("\n");
sb.append(" createdTime: ").append(toIndentedString(createdTime)).append("\n");
sb.append(" displaySettings: ").append(toIndentedString(displaySettings)).append("\n");
sb.append(" documents: ").append(toIndentedString(documents)).append("\n");
sb.append(" lastModified: ").append(toIndentedString(lastModified)).append("\n");
sb.append(" lastModifiedBy: ").append(toIndentedString(lastModifiedBy)).append("\n");
sb.append(" ownerUserId: ").append(toIndentedString(ownerUserId)).append("\n");
sb.append(" requireReacceptance: ").append(toIndentedString(requireReacceptance)).append("\n");
sb.append(" scheduledDate: ").append(toIndentedString(scheduledDate)).append("\n");
sb.append(" scheduledReacceptance: ").append(toIndentedString(scheduledReacceptance)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" versionId: ").append(toIndentedString(versionId)).append("\n");
sb.append(" versionNumber: ").append(toIndentedString(versionNumber)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}