Class: TencentCloud::Iotcloud::V20210408::CreateDeviceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::CreateDeviceRequest
- Defined in:
- lib/v20210408/models.rb
Overview
CreateDevice请求参数结构体
Instance Attribute Summary collapse
- #Attribute ⇒ Object
- #DefinedPsk ⇒ Object
- #DeviceName ⇒ Object
- #Imei ⇒ Object
- #Isp ⇒ Object
- #LoraAppKey ⇒ Object
- #LoraDevEui ⇒ Object
- #LoraMoteType ⇒ Object
- #ProductId ⇒ Object
- #Skey ⇒ Object
- #TlsCrt ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, devicename = nil, attribute = nil, definedpsk = nil, isp = nil, imei = nil, loradeveui = nil, loramotetype = nil, skey = nil, loraappkey = nil, tlscrt = nil) ⇒ CreateDeviceRequest
constructor
A new instance of CreateDeviceRequest.
Constructor Details
#initialize(productid = nil, devicename = nil, attribute = nil, definedpsk = nil, isp = nil, imei = nil, loradeveui = nil, loramotetype = nil, skey = nil, loraappkey = nil, tlscrt = nil) ⇒ CreateDeviceRequest
Returns a new instance of CreateDeviceRequest.
403 404 405 406 407 408 409 410 411 412 413 414 415 |
# File 'lib/v20210408/models.rb', line 403 def initialize(productid=nil, devicename=nil, attribute=nil, definedpsk=nil, isp=nil, imei=nil, loradeveui=nil, loramotetype=nil, skey=nil, loraappkey=nil, tlscrt=nil) @ProductId = productid @DeviceName = devicename @Attribute = attribute @DefinedPsk = definedpsk @Isp = isp @Imei = imei @LoraDevEui = loradeveui @LoraMoteType = loramotetype @Skey = skey @LoraAppKey = loraappkey @TlsCrt = tlscrt end |
Instance Attribute Details
#Attribute ⇒ Object
401 402 403 |
# File 'lib/v20210408/models.rb', line 401 def Attribute @Attribute end |
#DefinedPsk ⇒ Object
401 402 403 |
# File 'lib/v20210408/models.rb', line 401 def DefinedPsk @DefinedPsk end |
#DeviceName ⇒ Object
401 402 403 |
# File 'lib/v20210408/models.rb', line 401 def DeviceName @DeviceName end |
#Imei ⇒ Object
401 402 403 |
# File 'lib/v20210408/models.rb', line 401 def Imei @Imei end |
#Isp ⇒ Object
401 402 403 |
# File 'lib/v20210408/models.rb', line 401 def Isp @Isp end |
#LoraAppKey ⇒ Object
401 402 403 |
# File 'lib/v20210408/models.rb', line 401 def LoraAppKey @LoraAppKey end |
#LoraDevEui ⇒ Object
401 402 403 |
# File 'lib/v20210408/models.rb', line 401 def LoraDevEui @LoraDevEui end |
#LoraMoteType ⇒ Object
401 402 403 |
# File 'lib/v20210408/models.rb', line 401 def LoraMoteType @LoraMoteType end |
#ProductId ⇒ Object
401 402 403 |
# File 'lib/v20210408/models.rb', line 401 def ProductId @ProductId end |
#Skey ⇒ Object
401 402 403 |
# File 'lib/v20210408/models.rb', line 401 def Skey @Skey end |
#TlsCrt ⇒ Object
401 402 403 |
# File 'lib/v20210408/models.rb', line 401 def TlsCrt @TlsCrt end |
Instance Method Details
#deserialize(params) ⇒ Object
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 |
# File 'lib/v20210408/models.rb', line 417 def deserialize(params) @ProductId = params['ProductId'] @DeviceName = params['DeviceName'] unless params['Attribute'].nil? @Attribute = Attribute.new @Attribute.deserialize(params['Attribute']) end @DefinedPsk = params['DefinedPsk'] @Isp = params['Isp'] @Imei = params['Imei'] @LoraDevEui = params['LoraDevEui'] @LoraMoteType = params['LoraMoteType'] @Skey = params['Skey'] @LoraAppKey = params['LoraAppKey'] @TlsCrt = params['TlsCrt'] end |