com.docusign.admin.model.UserProductPermissionProfilesResponse 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;
/** UserProductPermissionProfilesResponse. */
public class UserProductPermissionProfilesResponse {
@JsonProperty("user_id")
private java.util.UUID userId = null;
@JsonProperty("account_id")
private java.util.UUID accountId = null;
@JsonProperty("product_permission_profiles")
private java.util.List productPermissionProfiles = null;
/**
* userId.
*
* @return UserProductPermissionProfilesResponse
*/
public UserProductPermissionProfilesResponse userId(java.util.UUID userId) {
this.userId = userId;
return this;
}
/**
* Get userId.
*
* @return userId
*/
@Schema(example = "00000000-0000-0000-0000-000000000000", description = "")
public java.util.UUID getUserId() {
return userId;
}
/** setUserId. */
public void setUserId(java.util.UUID userId) {
this.userId = userId;
}
/**
* accountId.
*
* @return UserProductPermissionProfilesResponse
*/
public UserProductPermissionProfilesResponse accountId(java.util.UUID accountId) {
this.accountId = accountId;
return this;
}
/**
* Get accountId.
*
* @return accountId
*/
@Schema(example = "00000000-0000-0000-0000-000000000000", description = "")
public java.util.UUID getAccountId() {
return accountId;
}
/** setAccountId. */
public void setAccountId(java.util.UUID accountId) {
this.accountId = accountId;
}
/**
* productPermissionProfiles.
*
* @return UserProductPermissionProfilesResponse
*/
public UserProductPermissionProfilesResponse productPermissionProfiles(
java.util.List productPermissionProfiles) {
this.productPermissionProfiles = productPermissionProfiles;
return this;
}
/**
* addProductPermissionProfilesItem.
*
* @return UserProductPermissionProfilesResponse
*/
public UserProductPermissionProfilesResponse addProductPermissionProfilesItem(
ProductPermissionProfileResponse productPermissionProfilesItem) {
if (this.productPermissionProfiles == null) {
this.productPermissionProfiles = new java.util.ArrayList<>();
}
this.productPermissionProfiles.add(productPermissionProfilesItem);
return this;
}
/**
* Get productPermissionProfiles.
*
* @return productPermissionProfiles
*/
@Schema(description = "")
public java.util.List getProductPermissionProfiles() {
return productPermissionProfiles;
}
/** setProductPermissionProfiles. */
public void setProductPermissionProfiles(
java.util.List productPermissionProfiles) {
this.productPermissionProfiles = productPermissionProfiles;
}
/**
* 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;
}
UserProductPermissionProfilesResponse userProductPermissionProfilesResponse =
(UserProductPermissionProfilesResponse) o;
return Objects.equals(this.userId, userProductPermissionProfilesResponse.userId)
&& Objects.equals(this.accountId, userProductPermissionProfilesResponse.accountId)
&& Objects.equals(
this.productPermissionProfiles,
userProductPermissionProfilesResponse.productPermissionProfiles);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(userId, accountId, productPermissionProfiles);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserProductPermissionProfilesResponse {\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" productPermissionProfiles: ")
.append(toIndentedString(productPermissionProfiles))
.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 ");
}
}