com.docusign.admin.model.DomainResponse 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;
/** DomainResponse. */
public class DomainResponse {
@JsonProperty("id")
private java.util.UUID id = null;
@JsonProperty("status")
private String status = null;
@JsonProperty("host_name")
private String hostName = null;
@JsonProperty("txt_token")
private String txtToken = null;
@JsonProperty("identity_provider_id")
private java.util.UUID identityProviderId = null;
@JsonProperty("settings")
private java.util.List settings = null;
@JsonProperty("links")
private java.util.List links = null;
/**
* id.
*
* @return DomainResponse
*/
public DomainResponse id(java.util.UUID id) {
this.id = id;
return this;
}
/**
* Get id.
*
* @return id
*/
@Schema(example = "00000000-0000-0000-0000-000000000000", description = "")
public java.util.UUID getId() {
return id;
}
/** setId. */
public void setId(java.util.UUID id) {
this.id = id;
}
/**
* status.
*
* @return DomainResponse
*/
public DomainResponse status(String status) {
this.status = status;
return this;
}
/**
* Get status.
*
* @return status
*/
@Schema(description = "")
public String getStatus() {
return status;
}
/** setStatus. */
public void setStatus(String status) {
this.status = status;
}
/**
* hostName.
*
* @return DomainResponse
*/
public DomainResponse hostName(String hostName) {
this.hostName = hostName;
return this;
}
/**
* Get hostName.
*
* @return hostName
*/
@Schema(description = "")
public String getHostName() {
return hostName;
}
/** setHostName. */
public void setHostName(String hostName) {
this.hostName = hostName;
}
/**
* txtToken.
*
* @return DomainResponse
*/
public DomainResponse txtToken(String txtToken) {
this.txtToken = txtToken;
return this;
}
/**
* Get txtToken.
*
* @return txtToken
*/
@Schema(description = "")
public String getTxtToken() {
return txtToken;
}
/** setTxtToken. */
public void setTxtToken(String txtToken) {
this.txtToken = txtToken;
}
/**
* identityProviderId.
*
* @return DomainResponse
*/
public DomainResponse identityProviderId(java.util.UUID identityProviderId) {
this.identityProviderId = identityProviderId;
return this;
}
/**
* Get identityProviderId.
*
* @return identityProviderId
*/
@Schema(example = "00000000-0000-0000-0000-000000000000", description = "")
public java.util.UUID getIdentityProviderId() {
return identityProviderId;
}
/** setIdentityProviderId. */
public void setIdentityProviderId(java.util.UUID identityProviderId) {
this.identityProviderId = identityProviderId;
}
/**
* settings.
*
* @return DomainResponse
*/
public DomainResponse settings(java.util.List settings) {
this.settings = settings;
return this;
}
/**
* addSettingsItem.
*
* @return DomainResponse
*/
public DomainResponse addSettingsItem(SettingResponse settingsItem) {
if (this.settings == null) {
this.settings = new java.util.ArrayList<>();
}
this.settings.add(settingsItem);
return this;
}
/**
* Get settings.
*
* @return settings
*/
@Schema(description = "")
public java.util.List getSettings() {
return settings;
}
/** setSettings. */
public void setSettings(java.util.List settings) {
this.settings = settings;
}
/**
* links.
*
* @return DomainResponse
*/
public DomainResponse links(java.util.List links) {
this.links = links;
return this;
}
/**
* addLinksItem.
*
* @return DomainResponse
*/
public DomainResponse addLinksItem(LinkResponse linksItem) {
if (this.links == null) {
this.links = new java.util.ArrayList<>();
}
this.links.add(linksItem);
return this;
}
/**
* Get links.
*
* @return links
*/
@Schema(description = "")
public java.util.List getLinks() {
return links;
}
/** setLinks. */
public void setLinks(java.util.List links) {
this.links = links;
}
/**
* 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;
}
DomainResponse domainResponse = (DomainResponse) o;
return Objects.equals(this.id, domainResponse.id)
&& Objects.equals(this.status, domainResponse.status)
&& Objects.equals(this.hostName, domainResponse.hostName)
&& Objects.equals(this.txtToken, domainResponse.txtToken)
&& Objects.equals(this.identityProviderId, domainResponse.identityProviderId)
&& Objects.equals(this.settings, domainResponse.settings)
&& Objects.equals(this.links, domainResponse.links);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(id, status, hostName, txtToken, identityProviderId, settings, links);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DomainResponse {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" hostName: ").append(toIndentedString(hostName)).append("\n");
sb.append(" txtToken: ").append(toIndentedString(txtToken)).append("\n");
sb.append(" identityProviderId: ").append(toIndentedString(identityProviderId)).append("\n");
sb.append(" settings: ").append(toIndentedString(settings)).append("\n");
sb.append(" links: ").append(toIndentedString(links)).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 ");
}
}