com.aliyun.sdk.service.maxcompute20220104.models.ListUsersResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-maxcompute20220104 Show documentation
Show all versions of alibabacloud-maxcompute20220104 Show documentation
Alibaba Cloud MaxCompute (20220104) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.maxcompute20220104.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ListUsersResponseBody} extends {@link TeaModel}
*
* ListUsersResponseBody
*/
public class ListUsersResponseBody extends TeaModel {
@NameInMap("data")
private Data data;
@NameInMap("requestId")
private String requestId;
private ListUsersResponseBody(Builder builder) {
this.data = builder.data;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ListUsersResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Data data;
private String requestId;
/**
* The returned data.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* The ID of the request.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ListUsersResponseBody build() {
return new ListUsersResponseBody(this);
}
}
public static class Users extends TeaModel {
@NameInMap("accountId")
private String accountId;
@NameInMap("accountName")
private String accountName;
@NameInMap("accountType")
private String accountType;
@NameInMap("displayName")
private String displayName;
@NameInMap("tenantId")
private String tenantId;
private Users(Builder builder) {
this.accountId = builder.accountId;
this.accountName = builder.accountName;
this.accountType = builder.accountType;
this.displayName = builder.displayName;
this.tenantId = builder.tenantId;
}
public static Builder builder() {
return new Builder();
}
public static Users create() {
return builder().build();
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return accountName
*/
public String getAccountName() {
return this.accountName;
}
/**
* @return accountType
*/
public String getAccountType() {
return this.accountType;
}
/**
* @return displayName
*/
public String getDisplayName() {
return this.displayName;
}
/**
* @return tenantId
*/
public String getTenantId() {
return this.tenantId;
}
public static final class Builder {
private String accountId;
private String accountName;
private String accountType;
private String displayName;
private String tenantId;
/**
* The ID of the Alibaba Cloud account.
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The username of the account.
*/
public Builder accountName(String accountName) {
this.accountName = accountName;
return this;
}
/**
* The type of the account.
*/
public Builder accountType(String accountType) {
this.accountType = accountType;
return this;
}
/**
* The display name.
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* The ID of the tenant.
*/
public Builder tenantId(String tenantId) {
this.tenantId = tenantId;
return this;
}
public Users build() {
return new Users(this);
}
}
}
public static class Data extends TeaModel {
@NameInMap("pageNumber")
private Integer pageNumber;
@NameInMap("pageSize")
private Integer pageSize;
@NameInMap("totalCount")
private Integer totalCount;
@NameInMap("users")
private java.util.List < Users> users;
private Data(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.totalCount = builder.totalCount;
this.users = builder.users;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
/**
* @return users
*/
public java.util.List < Users> getUsers() {
return this.users;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private Integer totalCount;
private java.util.List < Users> users;
/**
* The page number of the returned page.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries returned per page.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* The total number of returned entries.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
/**
* The users.
*/
public Builder users(java.util.List < Users> users) {
this.users = users;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}