Class: TencentCloud::Cr::V20180321::QueryProductsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cr::V20180321::QueryProductsResponse
- Defined in:
- lib/v20180321/models.rb
Overview
QueryProducts返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productlist = nil, requestid = nil) ⇒ QueryProductsResponse
constructor
A new instance of QueryProductsResponse.
Constructor Details
#initialize(productlist = nil, requestid = nil) ⇒ QueryProductsResponse
Returns a new instance of QueryProductsResponse.
1582 1583 1584 1585 |
# File 'lib/v20180321/models.rb', line 1582 def initialize(productlist=nil, requestid=nil) @ProductList = productlist @RequestId = requestid end |
Instance Attribute Details
#ProductList ⇒ Object
1580 1581 1582 |
# File 'lib/v20180321/models.rb', line 1580 def ProductList @ProductList end |
#RequestId ⇒ Object
1580 1581 1582 |
# File 'lib/v20180321/models.rb', line 1580 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 |
# File 'lib/v20180321/models.rb', line 1587 def deserialize(params) unless params['ProductList'].nil? @ProductList = [] params['ProductList'].each do |i| = ProductQueryInfo.new .deserialize(i) @ProductList << end end @RequestId = params['RequestId'] end |