com.docusign.esign.model.EnvelopeIdsRequest 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.
package com.docusign.esign.model;
import java.util.Objects;
import java.util.Arrays;
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;
/**
* EnvelopeIdsRequest
*/
public class EnvelopeIdsRequest {
@JsonProperty("envelopeIds")
private java.util.List envelopeIds = null;
@JsonProperty("transactionIds")
private java.util.List transactionIds = null;
public EnvelopeIdsRequest envelopeIds(java.util.List envelopeIds) {
this.envelopeIds = envelopeIds;
return this;
}
public EnvelopeIdsRequest addEnvelopeIdsItem(String envelopeIdsItem) {
if (this.envelopeIds == null) {
this.envelopeIds = new java.util.ArrayList();
}
this.envelopeIds.add(envelopeIdsItem);
return this;
}
/**
*
* @return envelopeIds
**/
@ApiModelProperty(value = "")
public java.util.List getEnvelopeIds() {
return envelopeIds;
}
public void setEnvelopeIds(java.util.List envelopeIds) {
this.envelopeIds = envelopeIds;
}
public EnvelopeIdsRequest transactionIds(java.util.List transactionIds) {
this.transactionIds = transactionIds;
return this;
}
public EnvelopeIdsRequest addTransactionIdsItem(String transactionIdsItem) {
if (this.transactionIds == null) {
this.transactionIds = new java.util.ArrayList();
}
this.transactionIds.add(transactionIdsItem);
return this;
}
/**
* A list of transaction Id's used to determining the status of envelopes sent asynchronously. See **transactionId** property on envelopes.
* @return transactionIds
**/
@ApiModelProperty(value = " A list of transaction Id's used to determining the status of envelopes sent asynchronously. See **transactionId** property on envelopes.")
public java.util.List getTransactionIds() {
return transactionIds;
}
public void setTransactionIds(java.util.List transactionIds) {
this.transactionIds = transactionIds;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EnvelopeIdsRequest envelopeIdsRequest = (EnvelopeIdsRequest) o;
return Objects.equals(this.envelopeIds, envelopeIdsRequest.envelopeIds) &&
Objects.equals(this.transactionIds, envelopeIdsRequest.transactionIds);
}
@Override
public int hashCode() {
return Objects.hash(envelopeIds, transactionIds);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EnvelopeIdsRequest {\n");
sb.append(" envelopeIds: ").append(toIndentedString(envelopeIds)).append("\n");
sb.append(" transactionIds: ").append(toIndentedString(transactionIds)).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 ");
}
}