com.docusign.esign.model.AddOn 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;
/** Contains information about add ons.. */
@Schema(description = "Contains information about add ons.")
public class AddOn {
@JsonProperty("active")
private String active = null;
@JsonProperty("addOnId")
private String addOnId = null;
@JsonProperty("id")
private String id = null;
@JsonProperty("name")
private String name = null;
/**
* active.
*
* @return AddOn
*/
public AddOn active(String active) {
this.active = active;
return this;
}
/**
* Reserved:.
*
* @return active
*/
@Schema(description = "Reserved:")
public String getActive() {
return active;
}
/** setActive. */
public void setActive(String active) {
this.active = active;
}
/**
* addOnId.
*
* @return AddOn
*/
public AddOn addOnId(String addOnId) {
this.addOnId = addOnId;
return this;
}
/**
* Reserved:.
*
* @return addOnId
*/
@Schema(description = "Reserved:")
public String getAddOnId() {
return addOnId;
}
/** setAddOnId. */
public void setAddOnId(String addOnId) {
this.addOnId = addOnId;
}
/**
* id.
*
* @return AddOn
*/
public AddOn id(String id) {
this.id = id;
return this;
}
/**
* .
*
* @return id
*/
@Schema(description = "")
public String getId() {
return id;
}
/** setId. */
public void setId(String id) {
this.id = id;
}
/**
* name.
*
* @return AddOn
*/
public AddOn name(String name) {
this.name = name;
return this;
}
/**
* Reserved:.
*
* @return name
*/
@Schema(description = "Reserved:")
public String getName() {
return name;
}
/** setName. */
public void setName(String name) {
this.name = name;
}
/**
* 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;
}
AddOn addOn = (AddOn) o;
return Objects.equals(this.active, addOn.active)
&& Objects.equals(this.addOnId, addOn.addOnId)
&& Objects.equals(this.id, addOn.id)
&& Objects.equals(this.name, addOn.name);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(active, addOnId, id, name);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AddOn {\n");
sb.append(" active: ").append(toIndentedString(active)).append("\n");
sb.append(" addOnId: ").append(toIndentedString(addOnId)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).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