com.docusign.esign.model.RecipientEmail 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;
/** RecipientEmail */
public class RecipientEmail {
@JsonProperty("accountId")
private String accountId = null;
@JsonProperty("accountName")
private String accountName = null;
@JsonProperty("email")
private String email = null;
@JsonProperty("envelopeId")
private String envelopeId = null;
@JsonProperty("name")
private String name = null;
@JsonProperty("recipientId")
private String recipientId = null;
@JsonProperty("supported")
private Boolean supported = null;
@JsonProperty("userId")
private String userId = null;
public RecipientEmail accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The account ID associated with the envelope.
*
* @return accountId
*/
@Schema(example = "null", description = "The account ID associated with the envelope.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public RecipientEmail accountName(String accountName) {
this.accountName = accountName;
return this;
}
/** @return accountName */
@Schema(example = "null", description = "")
public String getAccountName() {
return accountName;
}
public void setAccountName(String accountName) {
this.accountName = accountName;
}
public RecipientEmail email(String email) {
this.email = email;
return this;
}
/** @return email */
@Schema(example = "null", description = "")
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public RecipientEmail envelopeId(String envelopeId) {
this.envelopeId = envelopeId;
return this;
}
/**
* The envelope ID of the envelope status that failed to post.
*
* @return envelopeId
*/
@Schema(
example = "null",
description = "The envelope ID of the envelope status that failed to post.")
public String getEnvelopeId() {
return envelopeId;
}
public void setEnvelopeId(String envelopeId) {
this.envelopeId = envelopeId;
}
public RecipientEmail name(String name) {
this.name = name;
return this;
}
/** @return name */
@Schema(example = "null", description = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public RecipientEmail recipientId(String recipientId) {
this.recipientId = recipientId;
return this;
}
/**
* Unique for the recipient. It is used by the tab element to indicate which recipient is to sign
* the Document.
*
* @return recipientId
*/
@Schema(
example = "null",
description =
"Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.")
public String getRecipientId() {
return recipientId;
}
public void setRecipientId(String recipientId) {
this.recipientId = recipientId;
}
public RecipientEmail supported(Boolean supported) {
this.supported = supported;
return this;
}
/** @return supported */
@Schema(example = "null", description = "")
public Boolean getSupported() {
return supported;
}
public void setSupported(Boolean supported) {
this.supported = supported;
}
public RecipientEmail userId(String userId) {
this.userId = userId;
return this;
}
/** @return userId */
@Schema(example = "null", description = "")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RecipientEmail recipientEmail = (RecipientEmail) o;
return Objects.equals(this.accountId, recipientEmail.accountId)
&& Objects.equals(this.accountName, recipientEmail.accountName)
&& Objects.equals(this.email, recipientEmail.email)
&& Objects.equals(this.envelopeId, recipientEmail.envelopeId)
&& Objects.equals(this.name, recipientEmail.name)
&& Objects.equals(this.recipientId, recipientEmail.recipientId)
&& Objects.equals(this.supported, recipientEmail.supported)
&& Objects.equals(this.userId, recipientEmail.userId);
}
@Override
public int hashCode() {
return Objects.hash(
accountId, accountName, email, envelopeId, name, recipientId, supported, userId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RecipientEmail {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" envelopeId: ").append(toIndentedString(envelopeId)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n");
sb.append(" supported: ").append(toIndentedString(supported)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).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