public class CreateDeviceRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateDeviceRequest() | 
| CreateDeviceRequest(CreateDeviceRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getDeviceId()Get Create a device id, which must be unique within the project, consisting of lowercase english letters, numbers, and underscores, with a length not exceeding 18. | 
| String | getDeviceName()Get Create a device name, with a length of less than 24, which can include chinese, numbers, english letters, and underscores. | 
| String | getDeviceToken()Get Device authentication password, consisting of uppercase and lowercase english letters and digits, must be 16 characters. | 
| String | getDeviceType()Get Device type, field for on-site device (controlled device), remote for remote device (control device), default is field if not specified. | 
| String | getProjectId()Get Create the project id to which the device belongs. | 
| void | setDeviceId(String DeviceId)Set Create a device id, which must be unique within the project, consisting of lowercase english letters, numbers, and underscores, with a length not exceeding 18. | 
| void | setDeviceName(String DeviceName)Set Create a device name, with a length of less than 24, which can include chinese, numbers, english letters, and underscores. | 
| void | setDeviceToken(String DeviceToken)Set Device authentication password, consisting of uppercase and lowercase english letters and digits, must be 16 characters. | 
| void | setDeviceType(String DeviceType)Set Device type, field for on-site device (controlled device), remote for remote device (control device), default is field if not specified. | 
| void | setProjectId(String ProjectId)Set Create the project id to which the device belongs. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateDeviceRequest()
public CreateDeviceRequest(CreateDeviceRequest source)
public String getProjectId()
public void setProjectId(String ProjectId)
ProjectId - Create the project id to which the device belongs.public String getDeviceId()
public void setDeviceId(String DeviceId)
DeviceId - Create a device id, which must be unique within the project, consisting of lowercase english letters, numbers, and underscores, with a length not exceeding 18.public String getDeviceName()
public void setDeviceName(String DeviceName)
DeviceName - Create a device name, with a length of less than 24, which can include chinese, numbers, english letters, and underscores.public String getDeviceType()
public void setDeviceType(String DeviceType)
DeviceType - Device type, field for on-site device (controlled device), remote for remote device (control device), default is field if not specified.public String getDeviceToken()
public void setDeviceToken(String DeviceToken)
DeviceToken - Device authentication password, consisting of uppercase and lowercase english letters and digits, must be 16 characters.Copyright © 2025. All rights reserved.