com.docusign.admin.model.AddUserResponseAccountProperties 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;
/** AddUserResponseAccountProperties. */
public class AddUserResponseAccountProperties {
@JsonProperty("id")
private java.util.UUID id = null;
@JsonProperty("site_id")
private Integer siteId = null;
@JsonProperty("product_permission_profiles")
private java.util.List productPermissionProfiles = null;
@JsonProperty("ds_groups")
private java.util.List dsGroups = null;
@JsonProperty("company_name")
private String companyName = null;
@JsonProperty("job_title")
private String jobTitle = null;
/**
* id.
*
* @return AddUserResponseAccountProperties
*/
public AddUserResponseAccountProperties 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;
}
/**
* siteId.
*
* @return AddUserResponseAccountProperties
*/
public AddUserResponseAccountProperties siteId(Integer siteId) {
this.siteId = siteId;
return this;
}
/**
* Get siteId.
*
* @return siteId
*/
@Schema(description = "")
public Integer getSiteId() {
return siteId;
}
/** setSiteId. */
public void setSiteId(Integer siteId) {
this.siteId = siteId;
}
/**
* Get productPermissionProfiles.
*
* @return productPermissionProfiles
*/
@Schema(description = "")
public java.util.List getProductPermissionProfiles() {
return productPermissionProfiles;
}
/**
* Get dsGroups.
*
* @return dsGroups
*/
@Schema(description = "")
public java.util.List getDsGroups() {
return dsGroups;
}
/**
* companyName.
*
* @return AddUserResponseAccountProperties
*/
public AddUserResponseAccountProperties companyName(String companyName) {
this.companyName = companyName;
return this;
}
/**
* Get companyName.
*
* @return companyName
*/
@Schema(description = "")
public String getCompanyName() {
return companyName;
}
/** setCompanyName. */
public void setCompanyName(String companyName) {
this.companyName = companyName;
}
/**
* jobTitle.
*
* @return AddUserResponseAccountProperties
*/
public AddUserResponseAccountProperties jobTitle(String jobTitle) {
this.jobTitle = jobTitle;
return this;
}
/**
* Get jobTitle.
*
* @return jobTitle
*/
@Schema(description = "")
public String getJobTitle() {
return jobTitle;
}
/** setJobTitle. */
public void setJobTitle(String jobTitle) {
this.jobTitle = jobTitle;
}
/**
* 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;
}
AddUserResponseAccountProperties addUserResponseAccountProperties =
(AddUserResponseAccountProperties) o;
return Objects.equals(this.id, addUserResponseAccountProperties.id)
&& Objects.equals(this.siteId, addUserResponseAccountProperties.siteId)
&& Objects.equals(
this.productPermissionProfiles,
addUserResponseAccountProperties.productPermissionProfiles)
&& Objects.equals(this.dsGroups, addUserResponseAccountProperties.dsGroups)
&& Objects.equals(this.companyName, addUserResponseAccountProperties.companyName)
&& Objects.equals(this.jobTitle, addUserResponseAccountProperties.jobTitle);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(id, siteId, productPermissionProfiles, dsGroups, companyName, jobTitle);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AddUserResponseAccountProperties {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" siteId: ").append(toIndentedString(siteId)).append("\n");
sb.append(" productPermissionProfiles: ")
.append(toIndentedString(productPermissionProfiles))
.append("\n");
sb.append(" dsGroups: ").append(toIndentedString(dsGroups)).append("\n");
sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n");
sb.append(" jobTitle: ").append(toIndentedString(jobTitle)).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 ");
}
}