Class: TencentCloud::Partners::V20180321::ProductInfoElem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Partners::V20180321::ProductInfoElem
- Defined in:
- lib/v20180321/models.rb
Overview
产品详情
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, value = nil) ⇒ ProductInfoElem
constructor
A new instance of ProductInfoElem.
Constructor Details
#initialize(name = nil, value = nil) ⇒ ProductInfoElem
1756 1757 1758 1759 |
# File 'lib/v20180321/models.rb', line 1756 def initialize(name=nil, value=nil) @Name = name @Value = value end |
Instance Attribute Details
#Name ⇒ Object
1754 1755 1756 |
# File 'lib/v20180321/models.rb', line 1754 def Name @Name end |
#Value ⇒ Object
1754 1755 1756 |
# File 'lib/v20180321/models.rb', line 1754 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
1761 1762 1763 1764 |
# File 'lib/v20180321/models.rb', line 1761 def deserialize(params) @Name = params['Name'] @Value = params['Value'] end |