com.aliyun.iot20180120.models.CreateDeviceGroupRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iot20180120 Show documentation
Show all versions of iot20180120 Show documentation
Alibaba Cloud IoT Platform (20180120) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.iot20180120.models;
import com.aliyun.tea.*;
public class CreateDeviceGroupRequest extends TeaModel {
/**
* The description of the group. The description must be 1 to 100 characters in length.
*
* example:
* Group test
*/
@NameInMap("GroupDesc")
public String groupDesc;
/**
* The name of the group. The alias must be 4 to 30 characters in length, and can contain letters, digits, and underscores (_).
* This parameter is required.
*
* example:
* grouptest
*/
@NameInMap("GroupName")
public String groupName;
/**
* 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 ID of the parent group.
* If you need to create a first-level group, do not specify this parameter.
*
* example:
* SuperGroupId1
*/
@NameInMap("SuperGroupId")
public String superGroupId;
public static CreateDeviceGroupRequest build(java.util.Map map) throws Exception {
CreateDeviceGroupRequest self = new CreateDeviceGroupRequest();
return TeaModel.build(map, self);
}
public CreateDeviceGroupRequest setGroupDesc(String groupDesc) {
this.groupDesc = groupDesc;
return this;
}
public String getGroupDesc() {
return this.groupDesc;
}
public CreateDeviceGroupRequest setGroupName(String groupName) {
this.groupName = groupName;
return this;
}
public String getGroupName() {
return this.groupName;
}
public CreateDeviceGroupRequest setIotInstanceId(String iotInstanceId) {
this.iotInstanceId = iotInstanceId;
return this;
}
public String getIotInstanceId() {
return this.iotInstanceId;
}
public CreateDeviceGroupRequest setSuperGroupId(String superGroupId) {
this.superGroupId = superGroupId;
return this;
}
public String getSuperGroupId() {
return this.superGroupId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy