Class: TencentCloud::Iecp::V20210914::DescribeIotDevicesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iecp::V20210914::DescribeIotDevicesResponse
- Defined in:
- lib/v20210914/models.rb
Overview
DescribeIotDevices返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, deviceset = nil, requestid = nil) ⇒ DescribeIotDevicesResponse
constructor
A new instance of DescribeIotDevicesResponse.
Constructor Details
#initialize(totalcount = nil, deviceset = nil, requestid = nil) ⇒ DescribeIotDevicesResponse
Returns a new instance of DescribeIotDevicesResponse.
3270 3271 3272 3273 3274 |
# File 'lib/v20210914/models.rb', line 3270 def initialize(totalcount=nil, deviceset=nil, requestid=nil) @TotalCount = totalcount @DeviceSet = deviceset @RequestId = requestid end |
Instance Attribute Details
#DeviceSet ⇒ Object
3268 3269 3270 |
# File 'lib/v20210914/models.rb', line 3268 def DeviceSet @DeviceSet end |
#RequestId ⇒ Object
3268 3269 3270 |
# File 'lib/v20210914/models.rb', line 3268 def RequestId @RequestId end |
#TotalCount ⇒ Object
3268 3269 3270 |
# File 'lib/v20210914/models.rb', line 3268 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 |
# File 'lib/v20210914/models.rb', line 3276 def deserialize(params) @TotalCount = params['TotalCount'] unless params['DeviceSet'].nil? @DeviceSet = [] params['DeviceSet'].each do |i| iotdevicesinfo_tmp = IotDevicesInfo.new iotdevicesinfo_tmp.deserialize(i) @DeviceSet << iotdevicesinfo_tmp end end @RequestId = params['RequestId'] end |