com.docusign.esign.model.AccountIdentityInputOption Maven / Gradle / Ivy
package com.docusign.esign.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;
/** AccountIdentityInputOption. */
public class AccountIdentityInputOption {
@JsonProperty("isRequired")
private Boolean isRequired = null;
@JsonProperty("optionName")
private String optionName = null;
@JsonProperty("valueType")
private String valueType = null;
/**
* isRequired.
*
* @return AccountIdentityInputOption
*/
public AccountIdentityInputOption isRequired(Boolean isRequired) {
this.isRequired = isRequired;
return this;
}
/**
* .
*
* @return isRequired
*/
@ApiModelProperty(value = "")
public Boolean isIsRequired() {
return isRequired;
}
/** setIsRequired. */
public void setIsRequired(Boolean isRequired) {
this.isRequired = isRequired;
}
/**
* optionName.
*
* @return AccountIdentityInputOption
*/
public AccountIdentityInputOption optionName(String optionName) {
this.optionName = optionName;
return this;
}
/**
* .
*
* @return optionName
*/
@ApiModelProperty(value = "")
public String getOptionName() {
return optionName;
}
/** setOptionName. */
public void setOptionName(String optionName) {
this.optionName = optionName;
}
/**
* valueType.
*
* @return AccountIdentityInputOption
*/
public AccountIdentityInputOption valueType(String valueType) {
this.valueType = valueType;
return this;
}
/**
* .
*
* @return valueType
*/
@ApiModelProperty(value = "")
public String getValueType() {
return valueType;
}
/** setValueType. */
public void setValueType(String valueType) {
this.valueType = valueType;
}
/**
* 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;
}
AccountIdentityInputOption accountIdentityInputOption = (AccountIdentityInputOption) o;
return Objects.equals(this.isRequired, accountIdentityInputOption.isRequired)
&& Objects.equals(this.optionName, accountIdentityInputOption.optionName)
&& Objects.equals(this.valueType, accountIdentityInputOption.valueType);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(isRequired, optionName, valueType);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AccountIdentityInputOption {\n");
sb.append(" isRequired: ").append(toIndentedString(isRequired)).append("\n");
sb.append(" optionName: ").append(toIndentedString(optionName)).append("\n");
sb.append(" valueType: ").append(toIndentedString(valueType)).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 ");
}
}