Class: TencentCloud::Iecp::V20210914::CreateIotDeviceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iecp::V20210914::CreateIotDeviceRequest
- Defined in:
- lib/v20210914/models.rb
Overview
CreateIotDevice请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(devicename = nil, productid = nil, description = nil, unitid = nil) ⇒ CreateIotDeviceRequest
constructor
A new instance of CreateIotDeviceRequest.
Constructor Details
#initialize(devicename = nil, productid = nil, description = nil, unitid = nil) ⇒ CreateIotDeviceRequest
Returns a new instance of CreateIotDeviceRequest.
750 751 752 753 754 755 |
# File 'lib/v20210914/models.rb', line 750 def initialize(devicename=nil, productid=nil, description=nil, unitid=nil) @DeviceName = devicename @ProductId = productid @Description = description @UnitID = unitid end |
Instance Attribute Details
#Description ⇒ Object
748 749 750 |
# File 'lib/v20210914/models.rb', line 748 def Description @Description end |
#DeviceName ⇒ Object
748 749 750 |
# File 'lib/v20210914/models.rb', line 748 def DeviceName @DeviceName end |
#ProductId ⇒ Object
748 749 750 |
# File 'lib/v20210914/models.rb', line 748 def ProductId @ProductId end |
#UnitID ⇒ Object
748 749 750 |
# File 'lib/v20210914/models.rb', line 748 def UnitID @UnitID end |
Instance Method Details
#deserialize(params) ⇒ Object
757 758 759 760 761 762 |
# File 'lib/v20210914/models.rb', line 757 def deserialize(params) @DeviceName = params['DeviceName'] @ProductId = params['ProductId'] @Description = params['Description'] @UnitID = params['UnitID'] end |