Class: TencentCloud::Iotcloud::V20180614::DescribeAllDevicesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20180614::DescribeAllDevicesResponse
- Defined in:
- lib/v20180614/models.rb
Overview
DescribeAllDevices返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, devices = nil, requestid = nil) ⇒ DescribeAllDevicesResponse
constructor
A new instance of DescribeAllDevicesResponse.
Constructor Details
#initialize(totalcount = nil, devices = nil, requestid = nil) ⇒ DescribeAllDevicesResponse
Returns a new instance of DescribeAllDevicesResponse.
1068 1069 1070 1071 1072 |
# File 'lib/v20180614/models.rb', line 1068 def initialize(totalcount=nil, devices=nil, requestid=nil) @TotalCount = totalcount @Devices = devices @RequestId = requestid end |
Instance Attribute Details
#Devices ⇒ Object
1066 1067 1068 |
# File 'lib/v20180614/models.rb', line 1066 def Devices @Devices end |
#RequestId ⇒ Object
1066 1067 1068 |
# File 'lib/v20180614/models.rb', line 1066 def RequestId @RequestId end |
#TotalCount ⇒ Object
1066 1067 1068 |
# File 'lib/v20180614/models.rb', line 1066 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 |
# File 'lib/v20180614/models.rb', line 1074 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Devices'].nil? @Devices = [] params['Devices'].each do |i| deviceproperty_tmp = DeviceProperty.new deviceproperty_tmp.deserialize(i) @Devices << deviceproperty_tmp end end @RequestId = params['RequestId'] end |