Class: TencentCloud::Iotcloud::V20180614::DescribeProductsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20180614::DescribeProductsResponse
- Defined in:
- lib/v20180614/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.
2352 2353 2354 2355 2356 |
# File 'lib/v20180614/models.rb', line 2352 def initialize(totalcount=nil, products=nil, requestid=nil) @TotalCount = totalcount @Products = products @RequestId = requestid end |
Instance Attribute Details
#Products ⇒ Object
2350 2351 2352 |
# File 'lib/v20180614/models.rb', line 2350 def Products @Products end |
#RequestId ⇒ Object
2350 2351 2352 |
# File 'lib/v20180614/models.rb', line 2350 def RequestId @RequestId end |
#TotalCount ⇒ Object
2350 2351 2352 |
# File 'lib/v20180614/models.rb', line 2350 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 |
# File 'lib/v20180614/models.rb', line 2358 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 |