com.docusign.esign.model.TemplateUpdateSummary Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docusign-esign-java Show documentation
Show all versions of docusign-esign-java Show documentation
The official DocuSign eSignature JAVA client is based on version 2 of the DocuSign REST API and provides libraries for JAVA application integration. It is recommended that you use this version of the library for new development.
package com.docusign.esign.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Objects;
/** TemplateUpdateSummary. */
public class TemplateUpdateSummary {
@JsonProperty("bulkEnvelopeStatus")
private BulkEnvelopeStatus bulkEnvelopeStatus = null;
@JsonProperty("envelopeId")
private String envelopeId = null;
@JsonProperty("errorDetails")
private ErrorDetails errorDetails = null;
@JsonProperty("listCustomFieldUpdateResults")
private java.util.List listCustomFieldUpdateResults = null;
@JsonProperty("lockInformation")
private LockInformation lockInformation = null;
@JsonProperty("purgeState")
private String purgeState = null;
@JsonProperty("recipientUpdateResults")
private java.util.List recipientUpdateResults = null;
@JsonProperty("tabUpdateResults")
private Tabs tabUpdateResults = null;
@JsonProperty("textCustomFieldUpdateResults")
private java.util.List textCustomFieldUpdateResults = null;
/**
* bulkEnvelopeStatus.
*
* @return TemplateUpdateSummary
*/
public TemplateUpdateSummary bulkEnvelopeStatus(BulkEnvelopeStatus bulkEnvelopeStatus) {
this.bulkEnvelopeStatus = bulkEnvelopeStatus;
return this;
}
/**
* An object that describes the status of the bulk send envelopes..
*
* @return bulkEnvelopeStatus
*/
@Schema(description = "An object that describes the status of the bulk send envelopes.")
public BulkEnvelopeStatus getBulkEnvelopeStatus() {
return bulkEnvelopeStatus;
}
/** setBulkEnvelopeStatus. */
public void setBulkEnvelopeStatus(BulkEnvelopeStatus bulkEnvelopeStatus) {
this.bulkEnvelopeStatus = bulkEnvelopeStatus;
}
/**
* envelopeId.
*
* @return TemplateUpdateSummary
*/
public TemplateUpdateSummary envelopeId(String envelopeId) {
this.envelopeId = envelopeId;
return this;
}
/**
* The envelope ID of the envelope status that failed to post..
*
* @return envelopeId
*/
@Schema(description = "The envelope ID of the envelope status that failed to post.")
public String getEnvelopeId() {
return envelopeId;
}
/** setEnvelopeId. */
public void setEnvelopeId(String envelopeId) {
this.envelopeId = envelopeId;
}
/**
* errorDetails.
*
* @return TemplateUpdateSummary
*/
public TemplateUpdateSummary errorDetails(ErrorDetails errorDetails) {
this.errorDetails = errorDetails;
return this;
}
/**
* Array or errors..
*
* @return errorDetails
*/
@Schema(description = "Array or errors.")
public ErrorDetails getErrorDetails() {
return errorDetails;
}
/** setErrorDetails. */
public void setErrorDetails(ErrorDetails errorDetails) {
this.errorDetails = errorDetails;
}
/**
* listCustomFieldUpdateResults.
*
* @return TemplateUpdateSummary
*/
public TemplateUpdateSummary listCustomFieldUpdateResults(
java.util.List listCustomFieldUpdateResults) {
this.listCustomFieldUpdateResults = listCustomFieldUpdateResults;
return this;
}
/**
* addListCustomFieldUpdateResultsItem.
*
* @return TemplateUpdateSummary
*/
public TemplateUpdateSummary addListCustomFieldUpdateResultsItem(
ListCustomField listCustomFieldUpdateResultsItem) {
if (this.listCustomFieldUpdateResults == null) {
this.listCustomFieldUpdateResults = new java.util.ArrayList<>();
}
this.listCustomFieldUpdateResults.add(listCustomFieldUpdateResultsItem);
return this;
}
/**
* .
*
* @return listCustomFieldUpdateResults
*/
@Schema(description = "")
public java.util.List getListCustomFieldUpdateResults() {
return listCustomFieldUpdateResults;
}
/** setListCustomFieldUpdateResults. */
public void setListCustomFieldUpdateResults(
java.util.List listCustomFieldUpdateResults) {
this.listCustomFieldUpdateResults = listCustomFieldUpdateResults;
}
/**
* lockInformation.
*
* @return TemplateUpdateSummary
*/
public TemplateUpdateSummary lockInformation(LockInformation lockInformation) {
this.lockInformation = lockInformation;
return this;
}
/**
* Provides lock information about an envelope that a user has locked..
*
* @return lockInformation
*/
@Schema(description = "Provides lock information about an envelope that a user has locked.")
public LockInformation getLockInformation() {
return lockInformation;
}
/** setLockInformation. */
public void setLockInformation(LockInformation lockInformation) {
this.lockInformation = lockInformation;
}
/**
* purgeState.
*
* @return TemplateUpdateSummary
*/
public TemplateUpdateSummary purgeState(String purgeState) {
this.purgeState = purgeState;
return this;
}
/**
* .
*
* @return purgeState
*/
@Schema(description = "")
public String getPurgeState() {
return purgeState;
}
/** setPurgeState. */
public void setPurgeState(String purgeState) {
this.purgeState = purgeState;
}
/**
* recipientUpdateResults.
*
* @return TemplateUpdateSummary
*/
public TemplateUpdateSummary recipientUpdateResults(
java.util.List recipientUpdateResults) {
this.recipientUpdateResults = recipientUpdateResults;
return this;
}
/**
* addRecipientUpdateResultsItem.
*
* @return TemplateUpdateSummary
*/
public TemplateUpdateSummary addRecipientUpdateResultsItem(
RecipientUpdateResponse recipientUpdateResultsItem) {
if (this.recipientUpdateResults == null) {
this.recipientUpdateResults = new java.util.ArrayList<>();
}
this.recipientUpdateResults.add(recipientUpdateResultsItem);
return this;
}
/**
* .
*
* @return recipientUpdateResults
*/
@Schema(description = "")
public java.util.List getRecipientUpdateResults() {
return recipientUpdateResults;
}
/** setRecipientUpdateResults. */
public void setRecipientUpdateResults(
java.util.List recipientUpdateResults) {
this.recipientUpdateResults = recipientUpdateResults;
}
/**
* tabUpdateResults.
*
* @return TemplateUpdateSummary
*/
public TemplateUpdateSummary tabUpdateResults(Tabs tabUpdateResults) {
this.tabUpdateResults = tabUpdateResults;
return this;
}
/**
* .
*
* @return tabUpdateResults
*/
@Schema(description = "")
public Tabs getTabUpdateResults() {
return tabUpdateResults;
}
/** setTabUpdateResults. */
public void setTabUpdateResults(Tabs tabUpdateResults) {
this.tabUpdateResults = tabUpdateResults;
}
/**
* textCustomFieldUpdateResults.
*
* @return TemplateUpdateSummary
*/
public TemplateUpdateSummary textCustomFieldUpdateResults(
java.util.List textCustomFieldUpdateResults) {
this.textCustomFieldUpdateResults = textCustomFieldUpdateResults;
return this;
}
/**
* addTextCustomFieldUpdateResultsItem.
*
* @return TemplateUpdateSummary
*/
public TemplateUpdateSummary addTextCustomFieldUpdateResultsItem(
TextCustomField textCustomFieldUpdateResultsItem) {
if (this.textCustomFieldUpdateResults == null) {
this.textCustomFieldUpdateResults = new java.util.ArrayList<>();
}
this.textCustomFieldUpdateResults.add(textCustomFieldUpdateResultsItem);
return this;
}
/**
* .
*
* @return textCustomFieldUpdateResults
*/
@Schema(description = "")
public java.util.List getTextCustomFieldUpdateResults() {
return textCustomFieldUpdateResults;
}
/** setTextCustomFieldUpdateResults. */
public void setTextCustomFieldUpdateResults(
java.util.List textCustomFieldUpdateResults) {
this.textCustomFieldUpdateResults = textCustomFieldUpdateResults;
}
/**
* 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;
}
TemplateUpdateSummary templateUpdateSummary = (TemplateUpdateSummary) o;
return Objects.equals(this.bulkEnvelopeStatus, templateUpdateSummary.bulkEnvelopeStatus)
&& Objects.equals(this.envelopeId, templateUpdateSummary.envelopeId)
&& Objects.equals(this.errorDetails, templateUpdateSummary.errorDetails)
&& Objects.equals(
this.listCustomFieldUpdateResults, templateUpdateSummary.listCustomFieldUpdateResults)
&& Objects.equals(this.lockInformation, templateUpdateSummary.lockInformation)
&& Objects.equals(this.purgeState, templateUpdateSummary.purgeState)
&& Objects.equals(this.recipientUpdateResults, templateUpdateSummary.recipientUpdateResults)
&& Objects.equals(this.tabUpdateResults, templateUpdateSummary.tabUpdateResults)
&& Objects.equals(
this.textCustomFieldUpdateResults, templateUpdateSummary.textCustomFieldUpdateResults);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(
bulkEnvelopeStatus,
envelopeId,
errorDetails,
listCustomFieldUpdateResults,
lockInformation,
purgeState,
recipientUpdateResults,
tabUpdateResults,
textCustomFieldUpdateResults);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TemplateUpdateSummary {\n");
sb.append(" bulkEnvelopeStatus: ").append(toIndentedString(bulkEnvelopeStatus)).append("\n");
sb.append(" envelopeId: ").append(toIndentedString(envelopeId)).append("\n");
sb.append(" errorDetails: ").append(toIndentedString(errorDetails)).append("\n");
sb.append(" listCustomFieldUpdateResults: ")
.append(toIndentedString(listCustomFieldUpdateResults))
.append("\n");
sb.append(" lockInformation: ").append(toIndentedString(lockInformation)).append("\n");
sb.append(" purgeState: ").append(toIndentedString(purgeState)).append("\n");
sb.append(" recipientUpdateResults: ")
.append(toIndentedString(recipientUpdateResults))
.append("\n");
sb.append(" tabUpdateResults: ").append(toIndentedString(tabUpdateResults)).append("\n");
sb.append(" textCustomFieldUpdateResults: ")
.append(toIndentedString(textCustomFieldUpdateResults))
.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 ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy