Class: TencentCloud::Iotcloud::V20210408::DescribeProductsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::DescribeProductsResponse
- Defined in:
- lib/v20210408/models.rb
Overview
DescribeProducts返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, products = nil, requestid = nil) ⇒ DescribeProductsResponse
constructor
A new instance of DescribeProductsResponse.
Constructor Details
#initialize(totalcount = nil, products = nil, requestid = nil) ⇒ DescribeProductsResponse
Returns a new instance of DescribeProductsResponse.
2366 2367 2368 2369 2370 |
# File 'lib/v20210408/models.rb', line 2366 def initialize(totalcount=nil, products=nil, requestid=nil) @TotalCount = totalcount @Products = products @RequestId = requestid end |
Instance Attribute Details
#Products ⇒ Object
2364 2365 2366 |
# File 'lib/v20210408/models.rb', line 2364 def Products @Products end |
#RequestId ⇒ Object
2364 2365 2366 |
# File 'lib/v20210408/models.rb', line 2364 def RequestId @RequestId end |
#TotalCount ⇒ Object
2364 2365 2366 |
# File 'lib/v20210408/models.rb', line 2364 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 |
# File 'lib/v20210408/models.rb', line 2372 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Products'].nil? @Products = [] params['Products'].each do |i| productinfo_tmp = ProductInfo.new productinfo_tmp.deserialize(i) @Products << productinfo_tmp end end @RequestId = params['RequestId'] end |