com.docusign.esign.model.AccountIdentityVerificationStep Maven / Gradle / Ivy
package com.docusign.esign.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;
/** AccountIdentityVerificationStep. */
public class AccountIdentityVerificationStep {
@JsonProperty("name")
private String name = null;
@JsonProperty("type")
private String type = null;
/**
* name.
*
* @return AccountIdentityVerificationStep
*/
public AccountIdentityVerificationStep name(String name) {
this.name = name;
return this;
}
/**
* .
*
* @return name
*/
@ApiModelProperty(value = "")
public String getName() {
return name;
}
/** setName. */
public void setName(String name) {
this.name = name;
}
/**
* type.
*
* @return AccountIdentityVerificationStep
*/
public AccountIdentityVerificationStep type(String type) {
this.type = type;
return this;
}
/**
* .
*
* @return type
*/
@ApiModelProperty(value = "")
public String getType() {
return type;
}
/** setType. */
public void setType(String type) {
this.type = type;
}
/**
* 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;
}
AccountIdentityVerificationStep accountIdentityVerificationStep =
(AccountIdentityVerificationStep) o;
return Objects.equals(this.name, accountIdentityVerificationStep.name)
&& Objects.equals(this.type, accountIdentityVerificationStep.type);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(name, type);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AccountIdentityVerificationStep {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).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 ");
}
}