com.aliyun.sdk.service.iot20180120.models.QueryDeviceGroupListResponseBody 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 QueryDeviceGroupListResponseBody} extends {@link TeaModel}
*
* QueryDeviceGroupListResponseBody
*/
public class QueryDeviceGroupListResponseBody 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 QueryDeviceGroupListResponseBody(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 QueryDeviceGroupListResponseBody 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 QueryDeviceGroupListResponseBody build() {
return new QueryDeviceGroupListResponseBody(this);
}
}
public static class GroupInfo extends TeaModel {
@NameInMap("GroupDesc")
private String groupDesc;
@NameInMap("GroupId")
private String groupId;
@NameInMap("GroupName")
private String groupName;
@NameInMap("GroupType")
private String groupType;
@NameInMap("UtcCreate")
private String utcCreate;
private GroupInfo(Builder builder) {
this.groupDesc = builder.groupDesc;
this.groupId = builder.groupId;
this.groupName = builder.groupName;
this.groupType = builder.groupType;
this.utcCreate = builder.utcCreate;
}
public static Builder builder() {
return new Builder();
}
public static GroupInfo create() {
return builder().build();
}
/**
* @return groupDesc
*/
public String getGroupDesc() {
return this.groupDesc;
}
/**
* @return groupId
*/
public String getGroupId() {
return this.groupId;
}
/**
* @return groupName
*/
public String getGroupName() {
return this.groupName;
}
/**
* @return groupType
*/
public String getGroupType() {
return this.groupType;
}
/**
* @return utcCreate
*/
public String getUtcCreate() {
return this.utcCreate;
}
public static final class Builder {
private String groupDesc;
private String groupId;
private String groupName;
private String groupType;
private String utcCreate;
/**
* GroupDesc.
*/
public Builder groupDesc(String groupDesc) {
this.groupDesc = groupDesc;
return this;
}
/**
* GroupId.
*/
public Builder groupId(String groupId) {
this.groupId = groupId;
return this;
}
/**
* GroupName.
*/
public Builder groupName(String groupName) {
this.groupName = groupName;
return this;
}
/**
* GroupType.
*/
public Builder groupType(String groupType) {
this.groupType = groupType;
return this;
}
/**
* UtcCreate.
*/
public Builder utcCreate(String utcCreate) {
this.utcCreate = utcCreate;
return this;
}
public GroupInfo build() {
return new GroupInfo(this);
}
}
}
public static class Data extends TeaModel {
@NameInMap("GroupInfo")
private java.util.List < GroupInfo> groupInfo;
private Data(Builder builder) {
this.groupInfo = builder.groupInfo;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return groupInfo
*/
public java.util.List < GroupInfo> getGroupInfo() {
return this.groupInfo;
}
public static final class Builder {
private java.util.List < GroupInfo> groupInfo;
/**
* GroupInfo.
*/
public Builder groupInfo(java.util.List < GroupInfo> groupInfo) {
this.groupInfo = groupInfo;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy