Class: TencentCloud::Iotcloud::V20180614::CreateDeviceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20180614::CreateDeviceRequest
- Defined in:
- lib/v20180614/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
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) ⇒ 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) ⇒ CreateDeviceRequest
Returns a new instance of CreateDeviceRequest.
360 361 362 363 364 365 366 367 368 369 370 371 |
# File 'lib/v20180614/models.rb', line 360 def initialize(productid=nil, devicename=nil, attribute=nil, definedpsk=nil, isp=nil, imei=nil, loradeveui=nil, loramotetype=nil, skey=nil, loraappkey=nil) @ProductId = productid @DeviceName = devicename @Attribute = attribute @DefinedPsk = definedpsk @Isp = isp @Imei = imei @LoraDevEui = loradeveui @LoraMoteType = loramotetype @Skey = skey @LoraAppKey = loraappkey end |
Instance Attribute Details
#Attribute ⇒ Object
358 359 360 |
# File 'lib/v20180614/models.rb', line 358 def Attribute @Attribute end |
#DefinedPsk ⇒ Object
358 359 360 |
# File 'lib/v20180614/models.rb', line 358 def DefinedPsk @DefinedPsk end |
#DeviceName ⇒ Object
358 359 360 |
# File 'lib/v20180614/models.rb', line 358 def DeviceName @DeviceName end |
#Imei ⇒ Object
358 359 360 |
# File 'lib/v20180614/models.rb', line 358 def Imei @Imei end |
#Isp ⇒ Object
358 359 360 |
# File 'lib/v20180614/models.rb', line 358 def Isp @Isp end |
#LoraAppKey ⇒ Object
358 359 360 |
# File 'lib/v20180614/models.rb', line 358 def LoraAppKey @LoraAppKey end |
#LoraDevEui ⇒ Object
358 359 360 |
# File 'lib/v20180614/models.rb', line 358 def LoraDevEui @LoraDevEui end |
#LoraMoteType ⇒ Object
358 359 360 |
# File 'lib/v20180614/models.rb', line 358 def LoraMoteType @LoraMoteType end |
#ProductId ⇒ Object
358 359 360 |
# File 'lib/v20180614/models.rb', line 358 def ProductId @ProductId end |
#Skey ⇒ Object
358 359 360 |
# File 'lib/v20180614/models.rb', line 358 def Skey @Skey end |
Instance Method Details
#deserialize(params) ⇒ Object
373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 |
# File 'lib/v20180614/models.rb', line 373 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'] end |