com.docusign.esign.model.PostTransactionsResponse 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;
/** PostTransactionsResponse */
public class PostTransactionsResponse {
@JsonProperty("documentData")
private String documentData = null;
@JsonProperty("transactionSid")
private String transactionSid = null;
public PostTransactionsResponse documentData(String documentData) {
this.documentData = documentData;
return this;
}
/** @return documentData */
@Schema(example = "null", description = "")
public String getDocumentData() {
return documentData;
}
public void setDocumentData(String documentData) {
this.documentData = documentData;
}
public PostTransactionsResponse transactionSid(String transactionSid) {
this.transactionSid = transactionSid;
return this;
}
/** @return transactionSid */
@Schema(example = "null", description = "")
public String getTransactionSid() {
return transactionSid;
}
public void setTransactionSid(String transactionSid) {
this.transactionSid = transactionSid;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PostTransactionsResponse postTransactionsResponse = (PostTransactionsResponse) o;
return Objects.equals(this.documentData, postTransactionsResponse.documentData)
&& Objects.equals(this.transactionSid, postTransactionsResponse.transactionSid);
}
@Override
public int hashCode() {
return Objects.hash(documentData, transactionSid);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PostTransactionsResponse {\n");
sb.append(" documentData: ").append(toIndentedString(documentData)).append("\n");
sb.append(" transactionSid: ").append(toIndentedString(transactionSid)).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