com.docusign.esign.model.RecipientDomain 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;
/** RecipientDomain. */
public class RecipientDomain {
@JsonProperty("active")
private String active = null;
@JsonProperty("domainCode")
private String domainCode = null;
@JsonProperty("domainName")
private String domainName = null;
@JsonProperty("recipientDomainId")
private String recipientDomainId = null;
/**
* active.
*
* @return RecipientDomain
*/
public RecipientDomain active(String active) {
this.active = active;
return this;
}
/**
* .
*
* @return active
*/
@Schema(description = "")
public String getActive() {
return active;
}
/** setActive. */
public void setActive(String active) {
this.active = active;
}
/**
* domainCode.
*
* @return RecipientDomain
*/
public RecipientDomain domainCode(String domainCode) {
this.domainCode = domainCode;
return this;
}
/**
* .
*
* @return domainCode
*/
@Schema(description = "")
public String getDomainCode() {
return domainCode;
}
/** setDomainCode. */
public void setDomainCode(String domainCode) {
this.domainCode = domainCode;
}
/**
* domainName.
*
* @return RecipientDomain
*/
public RecipientDomain domainName(String domainName) {
this.domainName = domainName;
return this;
}
/**
* .
*
* @return domainName
*/
@Schema(description = "")
public String getDomainName() {
return domainName;
}
/** setDomainName. */
public void setDomainName(String domainName) {
this.domainName = domainName;
}
/**
* recipientDomainId.
*
* @return RecipientDomain
*/
public RecipientDomain recipientDomainId(String recipientDomainId) {
this.recipientDomainId = recipientDomainId;
return this;
}
/**
* .
*
* @return recipientDomainId
*/
@Schema(description = "")
public String getRecipientDomainId() {
return recipientDomainId;
}
/** setRecipientDomainId. */
public void setRecipientDomainId(String recipientDomainId) {
this.recipientDomainId = recipientDomainId;
}
/**
* 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;
}
RecipientDomain recipientDomain = (RecipientDomain) o;
return Objects.equals(this.active, recipientDomain.active)
&& Objects.equals(this.domainCode, recipientDomain.domainCode)
&& Objects.equals(this.domainName, recipientDomain.domainName)
&& Objects.equals(this.recipientDomainId, recipientDomain.recipientDomainId);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(active, domainCode, domainName, recipientDomainId);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RecipientDomain {\n");
sb.append(" active: ").append(toIndentedString(active)).append("\n");
sb.append(" domainCode: ").append(toIndentedString(domainCode)).append("\n");
sb.append(" domainName: ").append(toIndentedString(domainName)).append("\n");
sb.append(" recipientDomainId: ").append(toIndentedString(recipientDomainId)).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