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

com.aliyun.iot20180120.models.BatchDeleteDeviceGroupRelationsRequest 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 BatchDeleteDeviceGroupRelationsRequest extends TeaModel {
    @NameInMap("Device")
    public java.util.List device;

    /**
     * 

The ID of the group. The ID is the globally unique identifier (GUID) for the group.

*

This parameter is required.

* * example: *

W16X8Tvdosec****

*/ @NameInMap("GroupId") public String groupId; /** *

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; public static BatchDeleteDeviceGroupRelationsRequest build(java.util.Map map) throws Exception { BatchDeleteDeviceGroupRelationsRequest self = new BatchDeleteDeviceGroupRelationsRequest(); return TeaModel.build(map, self); } public BatchDeleteDeviceGroupRelationsRequest setDevice(java.util.List device) { this.device = device; return this; } public java.util.List getDevice() { return this.device; } public BatchDeleteDeviceGroupRelationsRequest setGroupId(String groupId) { this.groupId = groupId; return this; } public String getGroupId() { return this.groupId; } public BatchDeleteDeviceGroupRelationsRequest setIotInstanceId(String iotInstanceId) { this.iotInstanceId = iotInstanceId; return this; } public String getIotInstanceId() { return this.iotInstanceId; } public static class BatchDeleteDeviceGroupRelationsRequestDevice extends TeaModel { /** *

The names of the devices to be removed. You can specify a maximum of 200 devices.

*

This parameter is required.

* * example: *

ZHuPo6sZzv7pOzYh****

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

The ProductKeys of the products to which the devices belong. You can specify a maximum of 200 ProductKeys.

*

This parameter is required.

* * example: *

a1kORrK****

*/ @NameInMap("ProductKey") public String productKey; public static BatchDeleteDeviceGroupRelationsRequestDevice build(java.util.Map map) throws Exception { BatchDeleteDeviceGroupRelationsRequestDevice self = new BatchDeleteDeviceGroupRelationsRequestDevice(); return TeaModel.build(map, self); } public BatchDeleteDeviceGroupRelationsRequestDevice setDeviceName(String deviceName) { this.deviceName = deviceName; return this; } public String getDeviceName() { return this.deviceName; } public BatchDeleteDeviceGroupRelationsRequestDevice setProductKey(String productKey) { this.productKey = productKey; return this; } public String getProductKey() { return this.productKey; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy