Class: TencentCloud::Iotvideoindustry::V20201201::DescribeAllDeviceListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribeAllDeviceListResponse
- Defined in:
- lib/v20201201/models.rb
Overview
DescribeAllDeviceList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, devices = nil, requestid = nil) ⇒ DescribeAllDeviceListResponse
constructor
A new instance of DescribeAllDeviceListResponse.
Constructor Details
#initialize(totalcount = nil, devices = nil, requestid = nil) ⇒ DescribeAllDeviceListResponse
Returns a new instance of DescribeAllDeviceListResponse.
1575 1576 1577 1578 1579 |
# File 'lib/v20201201/models.rb', line 1575 def initialize(totalcount=nil, devices=nil, requestid=nil) @TotalCount = totalcount @Devices = devices @RequestId = requestid end |
Instance Attribute Details
#Devices ⇒ Object
1573 1574 1575 |
# File 'lib/v20201201/models.rb', line 1573 def Devices @Devices end |
#RequestId ⇒ Object
1573 1574 1575 |
# File 'lib/v20201201/models.rb', line 1573 def RequestId @RequestId end |
#TotalCount ⇒ Object
1573 1574 1575 |
# File 'lib/v20201201/models.rb', line 1573 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 |
# File 'lib/v20201201/models.rb', line 1581 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Devices'].nil? @Devices = [] params['Devices'].each do |i| alldeviceinfo_tmp = AllDeviceInfo.new alldeviceinfo_tmp.deserialize(i) @Devices << alldeviceinfo_tmp end end @RequestId = params['RequestId'] end |