Class: TencentCloud::Iotexplorer::V20190423::CreateDeviceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::CreateDeviceRequest
- Defined in:
- lib/v20190423/models.rb
Overview
CreateDevice请求参数结构体
Instance Attribute Summary collapse
- #AppKey ⇒ Object
- #AppSKey ⇒ Object
- #DefinedPsk ⇒ Object
- #DevAddr ⇒ Object
- #DevEUI ⇒ Object
- #DeviceName ⇒ Object
- #NwkSKey ⇒ Object
- #ProductId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, devicename = nil, devaddr = nil, appkey = nil, deveui = nil, appskey = nil, nwkskey = nil, definedpsk = nil) ⇒ CreateDeviceRequest
constructor
A new instance of CreateDeviceRequest.
Constructor Details
#initialize(productid = nil, devicename = nil, devaddr = nil, appkey = nil, deveui = nil, appskey = nil, nwkskey = nil, definedpsk = nil) ⇒ CreateDeviceRequest
Returns a new instance of CreateDeviceRequest.
1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 |
# File 'lib/v20190423/models.rb', line 1732 def initialize(productid=nil, devicename=nil, devaddr=nil, appkey=nil, deveui=nil, appskey=nil, nwkskey=nil, definedpsk=nil) @ProductId = productid @DeviceName = devicename @DevAddr = devaddr @AppKey = appkey @DevEUI = deveui @AppSKey = appskey @NwkSKey = nwkskey @DefinedPsk = definedpsk end |
Instance Attribute Details
#AppKey ⇒ Object
1730 1731 1732 |
# File 'lib/v20190423/models.rb', line 1730 def AppKey @AppKey end |
#AppSKey ⇒ Object
1730 1731 1732 |
# File 'lib/v20190423/models.rb', line 1730 def AppSKey @AppSKey end |
#DefinedPsk ⇒ Object
1730 1731 1732 |
# File 'lib/v20190423/models.rb', line 1730 def DefinedPsk @DefinedPsk end |
#DevAddr ⇒ Object
1730 1731 1732 |
# File 'lib/v20190423/models.rb', line 1730 def DevAddr @DevAddr end |
#DevEUI ⇒ Object
1730 1731 1732 |
# File 'lib/v20190423/models.rb', line 1730 def DevEUI @DevEUI end |
#DeviceName ⇒ Object
1730 1731 1732 |
# File 'lib/v20190423/models.rb', line 1730 def DeviceName @DeviceName end |
#NwkSKey ⇒ Object
1730 1731 1732 |
# File 'lib/v20190423/models.rb', line 1730 def NwkSKey @NwkSKey end |
#ProductId ⇒ Object
1730 1731 1732 |
# File 'lib/v20190423/models.rb', line 1730 def ProductId @ProductId end |
Instance Method Details
#deserialize(params) ⇒ Object
1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 |
# File 'lib/v20190423/models.rb', line 1743 def deserialize(params) @ProductId = params['ProductId'] @DeviceName = params['DeviceName'] @DevAddr = params['DevAddr'] @AppKey = params['AppKey'] @DevEUI = params['DevEUI'] @AppSKey = params['AppSKey'] @NwkSKey = params['NwkSKey'] @DefinedPsk = params['DefinedPsk'] end |