com.aliyun.iot20180120.models.QueryPageByApplyIdResponseBody Maven / Gradle / Ivy
Show all versions of iot20180120 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.iot20180120.models;
import com.aliyun.tea.*;
public class QueryPageByApplyIdResponseBody extends TeaModel {
/**
* The registered device list information returned if the call succeeds. The ApplyDeviceInfo parameter includes the details of the registered devices.
*/
@NameInMap("ApplyDeviceList")
public QueryPageByApplyIdResponseBodyApplyDeviceList applyDeviceList;
/**
* The error code returned if the call fails. For more information, see Error codes.
*
* example:
* iot.system.SystemException
*/
@NameInMap("Code")
public String code;
/**
* The error message returned if the call fails.
*/
@NameInMap("ErrorMessage")
public String errorMessage;
/**
* The page number of the returned page.
*
* example:
* 1
*/
@NameInMap("Page")
public Integer page;
/**
* The total number of pages.
*
* example:
* 1
*/
@NameInMap("PageCount")
public Integer pageCount;
/**
* The number of entries returned per page.
*
* example:
* 10
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The ID of the request.
*
* example:
* E55E50B7-40EE-4B6B-8BBE-D3ED55CCF565
*/
@NameInMap("RequestId")
public String requestId;
/**
* Indicates whether the call was successful.
*
* - true: The call was successful.
* - false: The call failed.
*
*
* example:
* true
*/
@NameInMap("Success")
public Boolean success;
/**
* The total number of devices.
*
* example:
* 2
*/
@NameInMap("Total")
public Integer total;
public static QueryPageByApplyIdResponseBody build(java.util.Map map) throws Exception {
QueryPageByApplyIdResponseBody self = new QueryPageByApplyIdResponseBody();
return TeaModel.build(map, self);
}
public QueryPageByApplyIdResponseBody setApplyDeviceList(QueryPageByApplyIdResponseBodyApplyDeviceList applyDeviceList) {
this.applyDeviceList = applyDeviceList;
return this;
}
public QueryPageByApplyIdResponseBodyApplyDeviceList getApplyDeviceList() {
return this.applyDeviceList;
}
public QueryPageByApplyIdResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public QueryPageByApplyIdResponseBody setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
public String getErrorMessage() {
return this.errorMessage;
}
public QueryPageByApplyIdResponseBody setPage(Integer page) {
this.page = page;
return this;
}
public Integer getPage() {
return this.page;
}
public QueryPageByApplyIdResponseBody setPageCount(Integer pageCount) {
this.pageCount = pageCount;
return this;
}
public Integer getPageCount() {
return this.pageCount;
}
public QueryPageByApplyIdResponseBody setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public QueryPageByApplyIdResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public QueryPageByApplyIdResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public QueryPageByApplyIdResponseBody setTotal(Integer total) {
this.total = total;
return this;
}
public Integer getTotal() {
return this.total;
}
public static class QueryPageByApplyIdResponseBodyApplyDeviceListApplyDeviceInfo extends TeaModel {
/**
* The ID of the device (expired).
*
* This parameter is no longer used. Do not use this parameter to identify a device. You can use the IotId parameter or a combination of the ProductKey and DeviceName parameters to identify a device.
*
*
* example:
* gQG2GJ2y10m6hIk8****
*/
@NameInMap("DeviceId")
public String deviceId;
/**
* The DeviceName of the device.
*
* example:
* light
*/
@NameInMap("DeviceName")
public String deviceName;
/**
* The DeviceSecret of the device.
*
* example:
* SkfeXXKrTgp1DbDxYr74mfJ5cnui****
*/
@NameInMap("DeviceSecret")
public String deviceSecret;
/**
* The ID of the device. The ID is the unique identifier that is issued by IoT Platform to the device.
*
* example:
* vWxNur6BUApsqjv9****000100
*/
@NameInMap("IotId")
public String iotId;
public static QueryPageByApplyIdResponseBodyApplyDeviceListApplyDeviceInfo build(java.util.Map map) throws Exception {
QueryPageByApplyIdResponseBodyApplyDeviceListApplyDeviceInfo self = new QueryPageByApplyIdResponseBodyApplyDeviceListApplyDeviceInfo();
return TeaModel.build(map, self);
}
public QueryPageByApplyIdResponseBodyApplyDeviceListApplyDeviceInfo setDeviceId(String deviceId) {
this.deviceId = deviceId;
return this;
}
public String getDeviceId() {
return this.deviceId;
}
public QueryPageByApplyIdResponseBodyApplyDeviceListApplyDeviceInfo setDeviceName(String deviceName) {
this.deviceName = deviceName;
return this;
}
public String getDeviceName() {
return this.deviceName;
}
public QueryPageByApplyIdResponseBodyApplyDeviceListApplyDeviceInfo setDeviceSecret(String deviceSecret) {
this.deviceSecret = deviceSecret;
return this;
}
public String getDeviceSecret() {
return this.deviceSecret;
}
public QueryPageByApplyIdResponseBodyApplyDeviceListApplyDeviceInfo setIotId(String iotId) {
this.iotId = iotId;
return this;
}
public String getIotId() {
return this.iotId;
}
}
public static class QueryPageByApplyIdResponseBodyApplyDeviceList extends TeaModel {
@NameInMap("ApplyDeviceInfo")
public java.util.List applyDeviceInfo;
public static QueryPageByApplyIdResponseBodyApplyDeviceList build(java.util.Map map) throws Exception {
QueryPageByApplyIdResponseBodyApplyDeviceList self = new QueryPageByApplyIdResponseBodyApplyDeviceList();
return TeaModel.build(map, self);
}
public QueryPageByApplyIdResponseBodyApplyDeviceList setApplyDeviceInfo(java.util.List applyDeviceInfo) {
this.applyDeviceInfo = applyDeviceInfo;
return this;
}
public java.util.List getApplyDeviceInfo() {
return this.applyDeviceInfo;
}
}
}