Class: TencentCloud::Iotcloud::V20180614::CreateProductResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20180614::CreateProductResponse
- Defined in:
- lib/v20180614/models.rb
Overview
CreateProduct返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productname = nil, productid = nil, productproperties = nil, requestid = nil) ⇒ CreateProductResponse
constructor
A new instance of CreateProductResponse.
Constructor Details
#initialize(productname = nil, productid = nil, productproperties = nil, requestid = nil) ⇒ CreateProductResponse
Returns a new instance of CreateProductResponse.
650 651 652 653 654 655 |
# File 'lib/v20180614/models.rb', line 650 def initialize(productname=nil, productid=nil, productproperties=nil, requestid=nil) @ProductName = productname @ProductId = productid @ProductProperties = productproperties @RequestId = requestid end |
Instance Attribute Details
#ProductId ⇒ Object
648 649 650 |
# File 'lib/v20180614/models.rb', line 648 def ProductId @ProductId end |
#ProductName ⇒ Object
648 649 650 |
# File 'lib/v20180614/models.rb', line 648 def ProductName @ProductName end |
#ProductProperties ⇒ Object
648 649 650 |
# File 'lib/v20180614/models.rb', line 648 def ProductProperties @ProductProperties end |
#RequestId ⇒ Object
648 649 650 |
# File 'lib/v20180614/models.rb', line 648 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
657 658 659 660 661 662 663 664 665 |
# File 'lib/v20180614/models.rb', line 657 def deserialize(params) @ProductName = params['ProductName'] @ProductId = params['ProductId'] unless params['ProductProperties'].nil? @ProductProperties = ProductProperties.new @ProductProperties.deserialize(params['ProductProperties']) end @RequestId = params['RequestId'] end |