com.docusign.esign.model.EnvelopePublishRequest 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.1 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.
The newest version!
package com.docusign.esign.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Objects;
/** EnvelopePublishRequest */
public class EnvelopePublishRequest {
@JsonProperty("applyConnectSettings")
private String applyConnectSettings = null;
@JsonProperty("envelopeIds")
private java.util.List envelopeIds = new java.util.ArrayList();
@JsonProperty("envelopeIdsBase64")
private String envelopeIdsBase64 = null;
public EnvelopePublishRequest applyConnectSettings(String applyConnectSettings) {
this.applyConnectSettings = applyConnectSettings;
return this;
}
/** @return applyConnectSettings */
@Schema(example = "null", description = "")
public String getApplyConnectSettings() {
return applyConnectSettings;
}
public void setApplyConnectSettings(String applyConnectSettings) {
this.applyConnectSettings = applyConnectSettings;
}
public EnvelopePublishRequest envelopeIds(java.util.List envelopeIds) {
this.envelopeIds = envelopeIds;
return this;
}
public EnvelopePublishRequest addEnvelopeIdsItem(String envelopeIdsItem) {
this.envelopeIds.add(envelopeIdsItem);
return this;
}
/** @return envelopeIds */
@Schema(example = "null", description = "")
public java.util.List getEnvelopeIds() {
return envelopeIds;
}
public void setEnvelopeIds(java.util.List envelopeIds) {
this.envelopeIds = envelopeIds;
}
public EnvelopePublishRequest envelopeIdsBase64(String envelopeIdsBase64) {
this.envelopeIdsBase64 = envelopeIdsBase64;
return this;
}
/** @return envelopeIdsBase64 */
@Schema(example = "null", description = "")
public String getEnvelopeIdsBase64() {
return envelopeIdsBase64;
}
public void setEnvelopeIdsBase64(String envelopeIdsBase64) {
this.envelopeIdsBase64 = envelopeIdsBase64;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EnvelopePublishRequest envelopePublishRequest = (EnvelopePublishRequest) o;
return Objects.equals(this.applyConnectSettings, envelopePublishRequest.applyConnectSettings)
&& Objects.equals(this.envelopeIds, envelopePublishRequest.envelopeIds)
&& Objects.equals(this.envelopeIdsBase64, envelopePublishRequest.envelopeIdsBase64);
}
@Override
public int hashCode() {
return Objects.hash(applyConnectSettings, envelopeIds, envelopeIdsBase64);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EnvelopePublishRequest {\n");
sb.append(" applyConnectSettings: ")
.append(toIndentedString(applyConnectSettings))
.append("\n");
sb.append(" envelopeIds: ").append(toIndentedString(envelopeIds)).append("\n");
sb.append(" envelopeIdsBase64: ").append(toIndentedString(envelopeIdsBase64)).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 ");
}
}