com.aliyun.sdk.service.dataphin_public20230630.models.GetMyRolesResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-dataphin_public20230630 Show documentation
Show all versions of alibabacloud-dataphin_public20230630 Show documentation
Alibaba Cloud dataphin-public (20230630) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dataphin_public20230630.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetMyRolesResponseBody} extends {@link TeaModel}
*
* GetMyRolesResponseBody
*/
public class GetMyRolesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private String code;
@com.aliyun.core.annotation.NameInMap("HttpStatusCode")
private Integer httpStatusCode;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("RoleList")
private java.util.List roleList;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private GetMyRolesResponseBody(Builder builder) {
this.code = builder.code;
this.httpStatusCode = builder.httpStatusCode;
this.message = builder.message;
this.requestId = builder.requestId;
this.roleList = builder.roleList;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetMyRolesResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return httpStatusCode
*/
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return roleList
*/
public java.util.List getRoleList() {
return this.roleList;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private String code;
private Integer httpStatusCode;
private String message;
private String requestId;
private java.util.List roleList;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* HttpStatusCode.
*/
public Builder httpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* RoleList.
*/
public Builder roleList(java.util.List roleList) {
this.roleList = roleList;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetMyRolesResponseBody build() {
return new GetMyRolesResponseBody(this);
}
}
/**
*
* {@link GetMyRolesResponseBody} extends {@link TeaModel}
*
* GetMyRolesResponseBody
*/
public static class RoleList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("Id")
private Long id;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
private RoleList(Builder builder) {
this.description = builder.description;
this.id = builder.id;
this.name = builder.name;
}
public static Builder builder() {
return new Builder();
}
public static RoleList create() {
return builder().build();
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return id
*/
public Long getId() {
return this.id;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
public static final class Builder {
private String description;
private Long id;
private String name;
/**
* Description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* Id.
*/
public Builder id(Long id) {
this.id = id;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
public RoleList build() {
return new RoleList(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy