com.aliyun.sdk.service.iot20180120.models.QueryConsumerGroupListResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-iot20180120 Show documentation
Show all versions of alibabacloud-iot20180120 Show documentation
Alibaba Cloud Iot (20180120) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.iot20180120.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link QueryConsumerGroupListResponseBody} extends {@link TeaModel}
*
* QueryConsumerGroupListResponseBody
*/
public class QueryConsumerGroupListResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("CurrentPage")
private Integer currentPage;
@NameInMap("Data")
private Data data;
@NameInMap("ErrorMessage")
private String errorMessage;
@NameInMap("PageCount")
private Integer pageCount;
@NameInMap("PageSize")
private Integer pageSize;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
@NameInMap("Total")
private Integer total;
private QueryConsumerGroupListResponseBody(Builder builder) {
this.code = builder.code;
this.currentPage = builder.currentPage;
this.data = builder.data;
this.errorMessage = builder.errorMessage;
this.pageCount = builder.pageCount;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.success = builder.success;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static QueryConsumerGroupListResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return errorMessage
*/
public String getErrorMessage() {
return this.errorMessage;
}
/**
* @return pageCount
*/
public Integer getPageCount() {
return this.pageCount;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return total
*/
public Integer getTotal() {
return this.total;
}
public static final class Builder {
private String code;
private Integer currentPage;
private Data data;
private String errorMessage;
private Integer pageCount;
private Integer pageSize;
private String requestId;
private Boolean success;
private Integer total;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* CurrentPage.
*/
public Builder currentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
/**
* Data.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* ErrorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* PageCount.
*/
public Builder pageCount(Integer pageCount) {
this.pageCount = pageCount;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* Total.
*/
public Builder total(Integer total) {
this.total = total;
return this;
}
public QueryConsumerGroupListResponseBody build() {
return new QueryConsumerGroupListResponseBody(this);
}
}
public static class ConsumerGroupDTO extends TeaModel {
@NameInMap("CreateTime")
private String createTime;
@NameInMap("GroupId")
private String groupId;
@NameInMap("GroupName")
private String groupName;
private ConsumerGroupDTO(Builder builder) {
this.createTime = builder.createTime;
this.groupId = builder.groupId;
this.groupName = builder.groupName;
}
public static Builder builder() {
return new Builder();
}
public static ConsumerGroupDTO create() {
return builder().build();
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return groupId
*/
public String getGroupId() {
return this.groupId;
}
/**
* @return groupName
*/
public String getGroupName() {
return this.groupName;
}
public static final class Builder {
private String createTime;
private String groupId;
private String groupName;
/**
* CreateTime.
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* GroupId.
*/
public Builder groupId(String groupId) {
this.groupId = groupId;
return this;
}
/**
* GroupName.
*/
public Builder groupName(String groupName) {
this.groupName = groupName;
return this;
}
public ConsumerGroupDTO build() {
return new ConsumerGroupDTO(this);
}
}
}
public static class Data extends TeaModel {
@NameInMap("ConsumerGroupDTO")
private java.util.List < ConsumerGroupDTO> consumerGroupDTO;
private Data(Builder builder) {
this.consumerGroupDTO = builder.consumerGroupDTO;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return consumerGroupDTO
*/
public java.util.List < ConsumerGroupDTO> getConsumerGroupDTO() {
return this.consumerGroupDTO;
}
public static final class Builder {
private java.util.List < ConsumerGroupDTO> consumerGroupDTO;
/**
* ConsumerGroupDTO.
*/
public Builder consumerGroupDTO(java.util.List < ConsumerGroupDTO> consumerGroupDTO) {
this.consumerGroupDTO = consumerGroupDTO;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy