Class: TencentCloud::Iotcloud::V20210408::CreateProductRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::CreateProductRequest
- Defined in:
- lib/v20210408/models.rb
Overview
CreateProduct请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productname = nil, productproperties = nil, skey = nil) ⇒ CreateProductRequest
constructor
A new instance of CreateProductRequest.
Constructor Details
#initialize(productname = nil, productproperties = nil, skey = nil) ⇒ CreateProductRequest
Returns a new instance of CreateProductRequest.
590 591 592 593 594 |
# File 'lib/v20210408/models.rb', line 590 def initialize(productname=nil, productproperties=nil, skey=nil) @ProductName = productname @ProductProperties = productproperties @Skey = skey end |
Instance Attribute Details
#ProductName ⇒ Object
588 589 590 |
# File 'lib/v20210408/models.rb', line 588 def ProductName @ProductName end |
#ProductProperties ⇒ Object
588 589 590 |
# File 'lib/v20210408/models.rb', line 588 def ProductProperties @ProductProperties end |
#Skey ⇒ Object
588 589 590 |
# File 'lib/v20210408/models.rb', line 588 def Skey @Skey end |
Instance Method Details
#deserialize(params) ⇒ Object
596 597 598 599 600 601 602 603 |
# File 'lib/v20210408/models.rb', line 596 def deserialize(params) @ProductName = params['ProductName'] unless params['ProductProperties'].nil? @ProductProperties = ProductProperties.new @ProductProperties.deserialize(params['ProductProperties']) end @Skey = params['Skey'] end |