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.
6248 6249 6250 6251 6252 |
# File 'lib/v20190423/models.rb', line 6248 def initialize(products=nil, total=nil, requestid=nil) @Products = products @Total = total @RequestId = requestid end |
Instance Attribute Details
#Products ⇒ Object
6246 6247 6248 |
# File 'lib/v20190423/models.rb', line 6246 def Products @Products end |
#RequestId ⇒ Object
6246 6247 6248 |
# File 'lib/v20190423/models.rb', line 6246 def RequestId @RequestId end |
#Total ⇒ Object
6246 6247 6248 |
# File 'lib/v20190423/models.rb', line 6246 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 |
# File 'lib/v20190423/models.rb', line 6254 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 |