Class CreateDeviceRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.iotcloud.v20210408.models.CreateDeviceRequest
-
public class CreateDeviceRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributegetAttribute()Get 设备属性StringgetDefinedPsk()Get 是否使用自定义PSK,默认不使用StringgetDeviceName()Get 设备名称。命名规则:[a-zA-Z0-9:_-]{1,48}。StringgetImei()Get IMEI,当产品是NB-IoT产品时,此字段必填LonggetIsp()Get 运营商类型,当产品是NB-IoT产品时,此字段必填。1表示中国电信,2表示中国移动,3表示中国联通StringgetLoraAppKey()Get LoRa设备的AppKeyStringgetLoraDevEui()Get LoRa设备的DevEui,当创建LoRa时,此字段必填LonggetLoraMoteType()Get LoRa设备的MoteTypeStringgetProductId()Get 产品 ID 。创建产品时腾讯云为用户分配全局唯一的 IDStringgetSkey()Get 创建LoRa设备需要skeyStringgetTlsCrt()Get 私有CA创建的设备证书voidsetAttribute(Attribute Attribute)Set 设备属性voidsetDefinedPsk(String DefinedPsk)Set 是否使用自定义PSK,默认不使用voidsetDeviceName(String DeviceName)Set 设备名称。命名规则:[a-zA-Z0-9:_-]{1,48}。voidsetImei(String Imei)Set IMEI,当产品是NB-IoT产品时,此字段必填voidsetIsp(Long Isp)Set 运营商类型,当产品是NB-IoT产品时,此字段必填。1表示中国电信,2表示中国移动,3表示中国联通voidsetLoraAppKey(String LoraAppKey)Set LoRa设备的AppKeyvoidsetLoraDevEui(String LoraDevEui)Set LoRa设备的DevEui,当创建LoRa时,此字段必填voidsetLoraMoteType(Long LoraMoteType)Set LoRa设备的MoteTypevoidsetProductId(String ProductId)Set 产品 ID 。创建产品时腾讯云为用户分配全局唯一的 IDvoidsetSkey(String Skey)Set 创建LoRa设备需要skeyvoidsetTlsCrt(String TlsCrt)Set 私有CA创建的设备证书voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateDeviceRequest
public CreateDeviceRequest()
-
CreateDeviceRequest
public 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.
-
-
Method Detail
-
getProductId
public String getProductId()
Get 产品 ID 。创建产品时腾讯云为用户分配全局唯一的 ID- Returns:
- ProductId 产品 ID 。创建产品时腾讯云为用户分配全局唯一的 ID
-
setProductId
public void setProductId(String ProductId)
Set 产品 ID 。创建产品时腾讯云为用户分配全局唯一的 ID- Parameters:
ProductId- 产品 ID 。创建产品时腾讯云为用户分配全局唯一的 ID
-
getDeviceName
public String getDeviceName()
Get 设备名称。命名规则:[a-zA-Z0-9:_-]{1,48}。- Returns:
- DeviceName 设备名称。命名规则:[a-zA-Z0-9:_-]{1,48}。
-
setDeviceName
public void setDeviceName(String DeviceName)
Set 设备名称。命名规则:[a-zA-Z0-9:_-]{1,48}。- Parameters:
DeviceName- 设备名称。命名规则:[a-zA-Z0-9:_-]{1,48}。
-
getAttribute
public Attribute getAttribute()
Get 设备属性- Returns:
- Attribute 设备属性
-
setAttribute
public void setAttribute(Attribute Attribute)
Set 设备属性- Parameters:
Attribute- 设备属性
-
getDefinedPsk
public String getDefinedPsk()
Get 是否使用自定义PSK,默认不使用- Returns:
- DefinedPsk 是否使用自定义PSK,默认不使用
-
setDefinedPsk
public void setDefinedPsk(String DefinedPsk)
Set 是否使用自定义PSK,默认不使用- Parameters:
DefinedPsk- 是否使用自定义PSK,默认不使用
-
getIsp
public Long getIsp()
Get 运营商类型,当产品是NB-IoT产品时,此字段必填。1表示中国电信,2表示中国移动,3表示中国联通- Returns:
- Isp 运营商类型,当产品是NB-IoT产品时,此字段必填。1表示中国电信,2表示中国移动,3表示中国联通
-
setIsp
public void setIsp(Long Isp)
Set 运营商类型,当产品是NB-IoT产品时,此字段必填。1表示中国电信,2表示中国移动,3表示中国联通- Parameters:
Isp- 运营商类型,当产品是NB-IoT产品时,此字段必填。1表示中国电信,2表示中国移动,3表示中国联通
-
getImei
public String getImei()
Get IMEI,当产品是NB-IoT产品时,此字段必填- Returns:
- Imei IMEI,当产品是NB-IoT产品时,此字段必填
-
setImei
public void setImei(String Imei)
Set IMEI,当产品是NB-IoT产品时,此字段必填- Parameters:
Imei- IMEI,当产品是NB-IoT产品时,此字段必填
-
getLoraDevEui
public String getLoraDevEui()
Get LoRa设备的DevEui,当创建LoRa时,此字段必填- Returns:
- LoraDevEui LoRa设备的DevEui,当创建LoRa时,此字段必填
-
setLoraDevEui
public void setLoraDevEui(String LoraDevEui)
Set LoRa设备的DevEui,当创建LoRa时,此字段必填- Parameters:
LoraDevEui- LoRa设备的DevEui,当创建LoRa时,此字段必填
-
getLoraMoteType
public Long getLoraMoteType()
Get LoRa设备的MoteType- Returns:
- LoraMoteType LoRa设备的MoteType
-
setLoraMoteType
public void setLoraMoteType(Long LoraMoteType)
Set LoRa设备的MoteType- Parameters:
LoraMoteType- LoRa设备的MoteType
-
getSkey
public String getSkey()
Get 创建LoRa设备需要skey- Returns:
- Skey 创建LoRa设备需要skey
-
setSkey
public void setSkey(String Skey)
Set 创建LoRa设备需要skey- Parameters:
Skey- 创建LoRa设备需要skey
-
getLoraAppKey
public String getLoraAppKey()
Get LoRa设备的AppKey- Returns:
- LoraAppKey LoRa设备的AppKey
-
setLoraAppKey
public void setLoraAppKey(String LoraAppKey)
Set LoRa设备的AppKey- Parameters:
LoraAppKey- LoRa设备的AppKey
-
getTlsCrt
public String getTlsCrt()
Get 私有CA创建的设备证书- Returns:
- TlsCrt 私有CA创建的设备证书
-
setTlsCrt
public void setTlsCrt(String TlsCrt)
Set 私有CA创建的设备证书- Parameters:
TlsCrt- 私有CA创建的设备证书
-
-