Class: TencentCloud::Iotcloud::V20210408::CreateProductResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::CreateProductResponse
- Defined in:
- lib/v20210408/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.
619 620 621 622 623 624 |
# File 'lib/v20210408/models.rb', line 619 def initialize(productname=nil, productid=nil, productproperties=nil, requestid=nil) @ProductName = productname @ProductId = productid @ProductProperties = productproperties @RequestId = requestid end |
Instance Attribute Details
#ProductId ⇒ Object
617 618 619 |
# File 'lib/v20210408/models.rb', line 617 def ProductId @ProductId end |
#ProductName ⇒ Object
617 618 619 |
# File 'lib/v20210408/models.rb', line 617 def ProductName @ProductName end |
#ProductProperties ⇒ Object
617 618 619 |
# File 'lib/v20210408/models.rb', line 617 def ProductProperties @ProductProperties end |
#RequestId ⇒ Object
617 618 619 |
# File 'lib/v20210408/models.rb', line 617 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
626 627 628 629 630 631 632 633 634 |
# File 'lib/v20210408/models.rb', line 626 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 |