com.aliyun.sdk.service.iot20180120.models.QueryDeviceResponseBody 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 QueryDeviceResponseBody} extends {@link TeaModel}
*
* QueryDeviceResponseBody
*/
public class QueryDeviceResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Data")
private Data data;
@NameInMap("ErrorMessage")
private String errorMessage;
@NameInMap("NextToken")
private String nextToken;
@NameInMap("Page")
private Integer page;
@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 QueryDeviceResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.errorMessage = builder.errorMessage;
this.nextToken = builder.nextToken;
this.page = builder.page;
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 QueryDeviceResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return errorMessage
*/
public String getErrorMessage() {
return this.errorMessage;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return page
*/
public Integer getPage() {
return this.page;
}
/**
* @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 Data data;
private String errorMessage;
private String nextToken;
private Integer page;
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;
}
/**
* Data.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* ErrorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* NextToken.
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* Page.
*/
public Builder page(Integer page) {
this.page = page;
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 QueryDeviceResponseBody build() {
return new QueryDeviceResponseBody(this);
}
}
public static class DeviceInfo extends TeaModel {
@NameInMap("DeviceId")
private String deviceId;
@NameInMap("DeviceName")
private String deviceName;
@NameInMap("DeviceSecret")
private String deviceSecret;
@NameInMap("DeviceStatus")
private String deviceStatus;
@NameInMap("DeviceType")
private String deviceType;
@NameInMap("GmtCreate")
private String gmtCreate;
@NameInMap("GmtModified")
private String gmtModified;
@NameInMap("IotId")
private String iotId;
@NameInMap("Nickname")
private String nickname;
@NameInMap("ProductKey")
private String productKey;
@NameInMap("UtcCreate")
private String utcCreate;
@NameInMap("UtcModified")
private String utcModified;
private DeviceInfo(Builder builder) {
this.deviceId = builder.deviceId;
this.deviceName = builder.deviceName;
this.deviceSecret = builder.deviceSecret;
this.deviceStatus = builder.deviceStatus;
this.deviceType = builder.deviceType;
this.gmtCreate = builder.gmtCreate;
this.gmtModified = builder.gmtModified;
this.iotId = builder.iotId;
this.nickname = builder.nickname;
this.productKey = builder.productKey;
this.utcCreate = builder.utcCreate;
this.utcModified = builder.utcModified;
}
public static Builder builder() {
return new Builder();
}
public static DeviceInfo create() {
return builder().build();
}
/**
* @return deviceId
*/
public String getDeviceId() {
return this.deviceId;
}
/**
* @return deviceName
*/
public String getDeviceName() {
return this.deviceName;
}
/**
* @return deviceSecret
*/
public String getDeviceSecret() {
return this.deviceSecret;
}
/**
* @return deviceStatus
*/
public String getDeviceStatus() {
return this.deviceStatus;
}
/**
* @return deviceType
*/
public String getDeviceType() {
return this.deviceType;
}
/**
* @return gmtCreate
*/
public String getGmtCreate() {
return this.gmtCreate;
}
/**
* @return gmtModified
*/
public String getGmtModified() {
return this.gmtModified;
}
/**
* @return iotId
*/
public String getIotId() {
return this.iotId;
}
/**
* @return nickname
*/
public String getNickname() {
return this.nickname;
}
/**
* @return productKey
*/
public String getProductKey() {
return this.productKey;
}
/**
* @return utcCreate
*/
public String getUtcCreate() {
return this.utcCreate;
}
/**
* @return utcModified
*/
public String getUtcModified() {
return this.utcModified;
}
public static final class Builder {
private String deviceId;
private String deviceName;
private String deviceSecret;
private String deviceStatus;
private String deviceType;
private String gmtCreate;
private String gmtModified;
private String iotId;
private String nickname;
private String productKey;
private String utcCreate;
private String utcModified;
/**
* DeviceId.
*/
public Builder deviceId(String deviceId) {
this.deviceId = deviceId;
return this;
}
/**
* DeviceName.
*/
public Builder deviceName(String deviceName) {
this.deviceName = deviceName;
return this;
}
/**
* DeviceSecret.
*/
public Builder deviceSecret(String deviceSecret) {
this.deviceSecret = deviceSecret;
return this;
}
/**
* DeviceStatus.
*/
public Builder deviceStatus(String deviceStatus) {
this.deviceStatus = deviceStatus;
return this;
}
/**
* DeviceType.
*/
public Builder deviceType(String deviceType) {
this.deviceType = deviceType;
return this;
}
/**
* GmtCreate.
*/
public Builder gmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
return this;
}
/**
* GmtModified.
*/
public Builder gmtModified(String gmtModified) {
this.gmtModified = gmtModified;
return this;
}
/**
* IotId.
*/
public Builder iotId(String iotId) {
this.iotId = iotId;
return this;
}
/**
* Nickname.
*/
public Builder nickname(String nickname) {
this.nickname = nickname;
return this;
}
/**
* ProductKey.
*/
public Builder productKey(String productKey) {
this.productKey = productKey;
return this;
}
/**
* UtcCreate.
*/
public Builder utcCreate(String utcCreate) {
this.utcCreate = utcCreate;
return this;
}
/**
* UtcModified.
*/
public Builder utcModified(String utcModified) {
this.utcModified = utcModified;
return this;
}
public DeviceInfo build() {
return new DeviceInfo(this);
}
}
}
public static class Data extends TeaModel {
@NameInMap("DeviceInfo")
private java.util.List < DeviceInfo> deviceInfo;
private Data(Builder builder) {
this.deviceInfo = builder.deviceInfo;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return deviceInfo
*/
public java.util.List < DeviceInfo> getDeviceInfo() {
return this.deviceInfo;
}
public static final class Builder {
private java.util.List < DeviceInfo> deviceInfo;
/**
* DeviceInfo.
*/
public Builder deviceInfo(java.util.List < DeviceInfo> deviceInfo) {
this.deviceInfo = deviceInfo;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy