Class: TencentCloud::Iotexplorer::V20190423::DescribeGatewaySubDeviceListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::DescribeGatewaySubDeviceListResponse
- Defined in:
- lib/v20190423/models.rb
Overview
DescribeGatewaySubDeviceList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, devicelist = nil, requestid = nil) ⇒ DescribeGatewaySubDeviceListResponse
constructor
A new instance of DescribeGatewaySubDeviceListResponse.
Constructor Details
#initialize(total = nil, devicelist = nil, requestid = nil) ⇒ DescribeGatewaySubDeviceListResponse
Returns a new instance of DescribeGatewaySubDeviceListResponse.
6173 6174 6175 6176 6177 |
# File 'lib/v20190423/models.rb', line 6173 def initialize(total=nil, devicelist=nil, requestid=nil) @Total = total @DeviceList = devicelist @RequestId = requestid end |
Instance Attribute Details
#DeviceList ⇒ Object
6171 6172 6173 |
# File 'lib/v20190423/models.rb', line 6171 def DeviceList @DeviceList end |
#RequestId ⇒ Object
6171 6172 6173 |
# File 'lib/v20190423/models.rb', line 6171 def RequestId @RequestId end |
#Total ⇒ Object
6171 6172 6173 |
# File 'lib/v20190423/models.rb', line 6171 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 |
# File 'lib/v20190423/models.rb', line 6179 def deserialize(params) @Total = params['Total'] unless params['DeviceList'].nil? @DeviceList = [] params['DeviceList'].each do |i| familysubdevice_tmp = FamilySubDevice.new familysubdevice_tmp.deserialize(i) @DeviceList << familysubdevice_tmp end end @RequestId = params['RequestId'] end |