com.aliyun.iot20180120.models.QueryDeviceFileListRequest 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 QueryDeviceFileListRequest extends TeaModel {
/**
* The number of the page to return. Pages start from page 1. Default value: 1.
*
* example:
* 1
*/
@NameInMap("CurrentPage")
public Integer currentPage;
/**
* The DeviceName of the device.
*
* If you specify this parameter, you must also specify the ProductKey parameter.
*
*
* example:
* light
*/
@NameInMap("DeviceName")
public String deviceName;
/**
* The ID of the device. The device ID is issued by IoT Platform.
*
* If you specify this parameter, you do not need to specify ProductKey or DeviceName. The IotId parameter specifies a globally unique identifier (GUID) of the device, which corresponds to a combination of ProductKey and DeviceName. If you specify both IotId and the combination of ProductKey and DeviceName, IotId takes precedence.
*
*
* example:
* Q7uOhVRdZRRlDnTLv****00100
*/
@NameInMap("IotId")
public String iotId;
/**
* The ID of the instance. You can view the instance ID on the Overview page in the IoT Platform console.
*
*
* - If your instance has an ID, you must configure this parameter. If you do not set this parameter, the call fails.
* - If your instance has no Overview page or ID, you do not need to set this parameter.
*
*
* For more information, see Overview.
*
* example:
* iot_instc_pu****_c*-v64********
*/
@NameInMap("IotInstanceId")
public String iotInstanceId;
/**
* The number of entries to return on each page. Maximum value: 200. Default value: 10.
*
* example:
* 10
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The ProductKey of the product to which the device belongs.
*
* If you specify this parameter, you must also specify the DeviceName parameter.
*
*
* example:
* a1BwAGV****
*/
@NameInMap("ProductKey")
public String productKey;
public static QueryDeviceFileListRequest build(java.util.Map map) throws Exception {
QueryDeviceFileListRequest self = new QueryDeviceFileListRequest();
return TeaModel.build(map, self);
}
public QueryDeviceFileListRequest setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public QueryDeviceFileListRequest setDeviceName(String deviceName) {
this.deviceName = deviceName;
return this;
}
public String getDeviceName() {
return this.deviceName;
}
public QueryDeviceFileListRequest setIotId(String iotId) {
this.iotId = iotId;
return this;
}
public String getIotId() {
return this.iotId;
}
public QueryDeviceFileListRequest setIotInstanceId(String iotInstanceId) {
this.iotInstanceId = iotInstanceId;
return this;
}
public String getIotInstanceId() {
return this.iotInstanceId;
}
public QueryDeviceFileListRequest setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public QueryDeviceFileListRequest setProductKey(String productKey) {
this.productKey = productKey;
return this;
}
public String getProductKey() {
return this.productKey;
}
}