Class: TencentCloud::Iotcloud::V20180614::ProductInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20180614::ProductInfo
- Defined in:
- lib/v20180614/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.
3516 3517 3518 3519 3520 3521 |
# File 'lib/v20180614/models.rb', line 3516 def initialize(productid=nil, productname=nil, =nil, productproperties=nil) @ProductId = productid @ProductName = productname @ProductMetadata = @ProductProperties = productproperties end |
Instance Attribute Details
#ProductId ⇒ Object
3514 3515 3516 |
# File 'lib/v20180614/models.rb', line 3514 def ProductId @ProductId end |
#ProductMetadata ⇒ Object
3514 3515 3516 |
# File 'lib/v20180614/models.rb', line 3514 def ProductMetadata @ProductMetadata end |
#ProductName ⇒ Object
3514 3515 3516 |
# File 'lib/v20180614/models.rb', line 3514 def ProductName @ProductName end |
#ProductProperties ⇒ Object
3514 3515 3516 |
# File 'lib/v20180614/models.rb', line 3514 def ProductProperties @ProductProperties end |
Instance Method Details
#deserialize(params) ⇒ Object
3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 |
# File 'lib/v20180614/models.rb', line 3523 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 |