Class: TencentCloud::Iotcloud::V20210408::ProductInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::ProductInfo
- Defined in:
- lib/v20210408/models.rb
Overview
产品详细信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, productname = nil, productmetadata = nil, productproperties = nil) ⇒ ProductInfo
constructor
A new instance of ProductInfo.
Constructor Details
#initialize(productid = nil, productname = nil, productmetadata = nil, productproperties = nil) ⇒ ProductInfo
Returns a new instance of ProductInfo.
3552 3553 3554 3555 3556 3557 |
# File 'lib/v20210408/models.rb', line 3552 def initialize(productid=nil, productname=nil, =nil, productproperties=nil) @ProductId = productid @ProductName = productname @ProductMetadata = @ProductProperties = productproperties end |
Instance Attribute Details
#ProductId ⇒ Object
3550 3551 3552 |
# File 'lib/v20210408/models.rb', line 3550 def ProductId @ProductId end |
#ProductMetadata ⇒ Object
3550 3551 3552 |
# File 'lib/v20210408/models.rb', line 3550 def ProductMetadata @ProductMetadata end |
#ProductName ⇒ Object
3550 3551 3552 |
# File 'lib/v20210408/models.rb', line 3550 def ProductName @ProductName end |
#ProductProperties ⇒ Object
3550 3551 3552 |
# File 'lib/v20210408/models.rb', line 3550 def ProductProperties @ProductProperties end |
Instance Method Details
#deserialize(params) ⇒ Object
3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 |
# File 'lib/v20210408/models.rb', line 3559 def deserialize(params) @ProductId = params['ProductId'] @ProductName = params['ProductName'] unless params['ProductMetadata'].nil? @ProductMetadata = ProductMetadata.new @ProductMetadata.deserialize(params['ProductMetadata']) end unless params['ProductProperties'].nil? @ProductProperties = ProductProperties.new @ProductProperties.deserialize(params['ProductProperties']) end end |