com.docusign.admin.model.RequiredAttributeMappingResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docusign-admin-java Show documentation
Show all versions of docusign-admin-java Show documentation
The DocuSign Admin API enables you to automate user management with your existing systems while ensuring governance and compliance.
package com.docusign.admin.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Objects;
/** RequiredAttributeMappingResponse. */
public class RequiredAttributeMappingResponse {
@JsonProperty("required_attribute_id")
private Integer requiredAttributeId = null;
@JsonProperty("required_attribute_name")
private String requiredAttributeName = null;
@JsonProperty("required_attribute_friendly_name")
private String requiredAttributeFriendlyName = null;
@JsonProperty("substitute_attribute_name")
private String substituteAttributeName = null;
/**
* requiredAttributeId.
*
* @return RequiredAttributeMappingResponse
*/
public RequiredAttributeMappingResponse requiredAttributeId(Integer requiredAttributeId) {
this.requiredAttributeId = requiredAttributeId;
return this;
}
/**
* Get requiredAttributeId.
*
* @return requiredAttributeId
*/
@Schema(description = "")
public Integer getRequiredAttributeId() {
return requiredAttributeId;
}
/** setRequiredAttributeId. */
public void setRequiredAttributeId(Integer requiredAttributeId) {
this.requiredAttributeId = requiredAttributeId;
}
/**
* requiredAttributeName.
*
* @return RequiredAttributeMappingResponse
*/
public RequiredAttributeMappingResponse requiredAttributeName(String requiredAttributeName) {
this.requiredAttributeName = requiredAttributeName;
return this;
}
/**
* Get requiredAttributeName.
*
* @return requiredAttributeName
*/
@Schema(description = "")
public String getRequiredAttributeName() {
return requiredAttributeName;
}
/** setRequiredAttributeName. */
public void setRequiredAttributeName(String requiredAttributeName) {
this.requiredAttributeName = requiredAttributeName;
}
/**
* requiredAttributeFriendlyName.
*
* @return RequiredAttributeMappingResponse
*/
public RequiredAttributeMappingResponse requiredAttributeFriendlyName(
String requiredAttributeFriendlyName) {
this.requiredAttributeFriendlyName = requiredAttributeFriendlyName;
return this;
}
/**
* Get requiredAttributeFriendlyName.
*
* @return requiredAttributeFriendlyName
*/
@Schema(description = "")
public String getRequiredAttributeFriendlyName() {
return requiredAttributeFriendlyName;
}
/** setRequiredAttributeFriendlyName. */
public void setRequiredAttributeFriendlyName(String requiredAttributeFriendlyName) {
this.requiredAttributeFriendlyName = requiredAttributeFriendlyName;
}
/**
* substituteAttributeName.
*
* @return RequiredAttributeMappingResponse
*/
public RequiredAttributeMappingResponse substituteAttributeName(String substituteAttributeName) {
this.substituteAttributeName = substituteAttributeName;
return this;
}
/**
* Get substituteAttributeName.
*
* @return substituteAttributeName
*/
@Schema(description = "")
public String getSubstituteAttributeName() {
return substituteAttributeName;
}
/** setSubstituteAttributeName. */
public void setSubstituteAttributeName(String substituteAttributeName) {
this.substituteAttributeName = substituteAttributeName;
}
/**
* 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;
}
RequiredAttributeMappingResponse requiredAttributeMappingResponse =
(RequiredAttributeMappingResponse) o;
return Objects.equals(
this.requiredAttributeId, requiredAttributeMappingResponse.requiredAttributeId)
&& Objects.equals(
this.requiredAttributeName, requiredAttributeMappingResponse.requiredAttributeName)
&& Objects.equals(
this.requiredAttributeFriendlyName,
requiredAttributeMappingResponse.requiredAttributeFriendlyName)
&& Objects.equals(
this.substituteAttributeName, requiredAttributeMappingResponse.substituteAttributeName);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(
requiredAttributeId,
requiredAttributeName,
requiredAttributeFriendlyName,
substituteAttributeName);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RequiredAttributeMappingResponse {\n");
sb.append(" requiredAttributeId: ")
.append(toIndentedString(requiredAttributeId))
.append("\n");
sb.append(" requiredAttributeName: ")
.append(toIndentedString(requiredAttributeName))
.append("\n");
sb.append(" requiredAttributeFriendlyName: ")
.append(toIndentedString(requiredAttributeFriendlyName))
.append("\n");
sb.append(" substituteAttributeName: ")
.append(toIndentedString(substituteAttributeName))
.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 ");
}
}