All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.iot20180120.models.GetGatewayBySubDeviceRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.iot20180120.models;

import com.aliyun.tea.*;

public class GetGatewayBySubDeviceRequest extends TeaModel {
    /**
     * 

The DeviceName of the sub-device.

*
*

If you specify this parameter, you must also specify the ProductKey parameter.

*
* * example: *

light

*/ @NameInMap("DeviceName") public String deviceName; /** *

The ID of the sub-device. The ID is a unique identifier that is issued by IoT Platform to the sub-device.

*
*

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 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 GetGatewayBySubDeviceRequest build(java.util.Map map) throws Exception { GetGatewayBySubDeviceRequest self = new GetGatewayBySubDeviceRequest(); return TeaModel.build(map, self); } public GetGatewayBySubDeviceRequest setDeviceName(String deviceName) { this.deviceName = deviceName; return this; } public String getDeviceName() { return this.deviceName; } public GetGatewayBySubDeviceRequest setIotId(String iotId) { this.iotId = iotId; return this; } public String getIotId() { return this.iotId; } public GetGatewayBySubDeviceRequest setIotInstanceId(String iotInstanceId) { this.iotInstanceId = iotInstanceId; return this; } public String getIotInstanceId() { return this.iotInstanceId; } public GetGatewayBySubDeviceRequest setProductKey(String productKey) { this.productKey = productKey; return this; } public String getProductKey() { return this.productKey; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy