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.
6185 6186 6187 6188 6189 |
# File 'lib/v20190423/models.rb', line 6185 def initialize(total=nil, devicelist=nil, requestid=nil) @Total = total @DeviceList = devicelist @RequestId = requestid end |
Instance Attribute Details
#DeviceList ⇒ Object
6183 6184 6185 |
# File 'lib/v20190423/models.rb', line 6183 def DeviceList @DeviceList end |
#RequestId ⇒ Object
6183 6184 6185 |
# File 'lib/v20190423/models.rb', line 6183 def RequestId @RequestId end |
#Total ⇒ Object
6183 6184 6185 |
# File 'lib/v20190423/models.rb', line 6183 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 |
# File 'lib/v20190423/models.rb', line 6191 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 |