Class: TencentCloud::Iotexplorer::V20190423::DescribeGatewaySubProductsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::DescribeGatewaySubProductsResponse
- Defined in:
- lib/v20190423/models.rb
Overview
DescribeGatewaySubProducts返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(products = nil, total = nil, requestid = nil) ⇒ DescribeGatewaySubProductsResponse
constructor
A new instance of DescribeGatewaySubProductsResponse.
Constructor Details
#initialize(products = nil, total = nil, requestid = nil) ⇒ DescribeGatewaySubProductsResponse
Returns a new instance of DescribeGatewaySubProductsResponse.
6236 6237 6238 6239 6240 |
# File 'lib/v20190423/models.rb', line 6236 def initialize(products=nil, total=nil, requestid=nil) @Products = products @Total = total @RequestId = requestid end |
Instance Attribute Details
#Products ⇒ Object
6234 6235 6236 |
# File 'lib/v20190423/models.rb', line 6234 def Products @Products end |
#RequestId ⇒ Object
6234 6235 6236 |
# File 'lib/v20190423/models.rb', line 6234 def RequestId @RequestId end |
#Total ⇒ Object
6234 6235 6236 |
# File 'lib/v20190423/models.rb', line 6234 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 |
# File 'lib/v20190423/models.rb', line 6242 def deserialize(params) unless params['Products'].nil? @Products = [] params['Products'].each do |i| bindproductinfo_tmp = BindProductInfo.new bindproductinfo_tmp.deserialize(i) @Products << bindproductinfo_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |