com.docusign.esign.model.ENoteConfiguration Maven / Gradle / Ivy
package com.docusign.esign.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;
/** ENoteConfiguration. */
public class ENoteConfiguration {
@JsonProperty("apiKey")
private String apiKey = null;
@JsonProperty("connectConfigured")
private String connectConfigured = null;
@JsonProperty("eNoteConfigured")
private String eNoteConfigured = null;
@JsonProperty("organization")
private String organization = null;
@JsonProperty("password")
private String password = null;
@JsonProperty("userName")
private String userName = null;
/**
* apiKey.
*
* @return ENoteConfiguration
*/
public ENoteConfiguration apiKey(String apiKey) {
this.apiKey = apiKey;
return this;
}
/**
* .
*
* @return apiKey
*/
@ApiModelProperty(value = "")
public String getApiKey() {
return apiKey;
}
/** setApiKey. */
public void setApiKey(String apiKey) {
this.apiKey = apiKey;
}
/**
* connectConfigured.
*
* @return ENoteConfiguration
*/
public ENoteConfiguration connectConfigured(String connectConfigured) {
this.connectConfigured = connectConfigured;
return this;
}
/**
* .
*
* @return connectConfigured
*/
@ApiModelProperty(value = "")
public String getConnectConfigured() {
return connectConfigured;
}
/** setConnectConfigured. */
public void setConnectConfigured(String connectConfigured) {
this.connectConfigured = connectConfigured;
}
/**
* eNoteConfigured.
*
* @return ENoteConfiguration
*/
public ENoteConfiguration eNoteConfigured(String eNoteConfigured) {
this.eNoteConfigured = eNoteConfigured;
return this;
}
/**
* .
*
* @return eNoteConfigured
*/
@ApiModelProperty(value = "")
public String getENoteConfigured() {
return eNoteConfigured;
}
/** setENoteConfigured. */
public void setENoteConfigured(String eNoteConfigured) {
this.eNoteConfigured = eNoteConfigured;
}
/**
* organization.
*
* @return ENoteConfiguration
*/
public ENoteConfiguration organization(String organization) {
this.organization = organization;
return this;
}
/**
* .
*
* @return organization
*/
@ApiModelProperty(value = "")
public String getOrganization() {
return organization;
}
/** setOrganization. */
public void setOrganization(String organization) {
this.organization = organization;
}
/**
* password.
*
* @return ENoteConfiguration
*/
public ENoteConfiguration password(String password) {
this.password = password;
return this;
}
/**
* .
*
* @return password
*/
@ApiModelProperty(value = "")
public String getPassword() {
return password;
}
/** setPassword. */
public void setPassword(String password) {
this.password = password;
}
/**
* userName.
*
* @return ENoteConfiguration
*/
public ENoteConfiguration userName(String userName) {
this.userName = userName;
return this;
}
/**
* .
*
* @return userName
*/
@ApiModelProperty(value = "")
public String getUserName() {
return userName;
}
/** setUserName. */
public void setUserName(String userName) {
this.userName = userName;
}
/**
* 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;
}
ENoteConfiguration eNoteConfiguration = (ENoteConfiguration) o;
return Objects.equals(this.apiKey, eNoteConfiguration.apiKey)
&& Objects.equals(this.connectConfigured, eNoteConfiguration.connectConfigured)
&& Objects.equals(this.eNoteConfigured, eNoteConfiguration.eNoteConfigured)
&& Objects.equals(this.organization, eNoteConfiguration.organization)
&& Objects.equals(this.password, eNoteConfiguration.password)
&& Objects.equals(this.userName, eNoteConfiguration.userName);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(
apiKey, connectConfigured, eNoteConfigured, organization, password, userName);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ENoteConfiguration {\n");
sb.append(" apiKey: ").append(toIndentedString(apiKey)).append("\n");
sb.append(" connectConfigured: ").append(toIndentedString(connectConfigured)).append("\n");
sb.append(" eNoteConfigured: ").append(toIndentedString(eNoteConfigured)).append("\n");
sb.append(" organization: ").append(toIndentedString(organization)).append("\n");
sb.append(" password: ").append(toIndentedString(password)).append("\n");
sb.append(" userName: ").append(toIndentedString(userName)).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 ");
}
}