com.docusign.esign.model.IdCheckConfiguration 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.1 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 java.util.Objects;
import java.util.Arrays;
import com.docusign.esign.model.IdCheckSecurityStep;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* IdCheckConfiguration
*/
public class IdCheckConfiguration {
@JsonProperty("authSteps")
private java.util.List authSteps = null;
@JsonProperty("isDefault")
private String isDefault = null;
@JsonProperty("name")
private String name = null;
public IdCheckConfiguration authSteps(java.util.List authSteps) {
this.authSteps = authSteps;
return this;
}
public IdCheckConfiguration addAuthStepsItem(IdCheckSecurityStep authStepsItem) {
if (this.authSteps == null) {
this.authSteps = new java.util.ArrayList();
}
this.authSteps.add(authStepsItem);
return this;
}
/**
*
* @return authSteps
**/
@ApiModelProperty(value = "")
public java.util.List getAuthSteps() {
return authSteps;
}
public void setAuthSteps(java.util.List authSteps) {
this.authSteps = authSteps;
}
public IdCheckConfiguration isDefault(String isDefault) {
this.isDefault = isDefault;
return this;
}
/**
*
* @return isDefault
**/
@ApiModelProperty(value = "")
public String getIsDefault() {
return isDefault;
}
public void setIsDefault(String isDefault) {
this.isDefault = isDefault;
}
public IdCheckConfiguration name(String name) {
this.name = name;
return this;
}
/**
*
* @return name
**/
@ApiModelProperty(value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IdCheckConfiguration idCheckConfiguration = (IdCheckConfiguration) o;
return Objects.equals(this.authSteps, idCheckConfiguration.authSteps) &&
Objects.equals(this.isDefault, idCheckConfiguration.isDefault) &&
Objects.equals(this.name, idCheckConfiguration.name);
}
@Override
public int hashCode() {
return Objects.hash(authSteps, isDefault, name);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdCheckConfiguration {\n");
sb.append(" authSteps: ").append(toIndentedString(authSteps)).append("\n");
sb.append(" isDefault: ").append(toIndentedString(isDefault)).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 ");
}
}