Class: TencentCloud::Iotexplorer::V20190423::DescribeUnbindedDevicesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::DescribeUnbindedDevicesResponse
- Defined in:
- lib/v20190423/models.rb
Overview
DescribeUnbindedDevices返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(unbindeddevices = nil, total = nil, requestid = nil) ⇒ DescribeUnbindedDevicesResponse
constructor
A new instance of DescribeUnbindedDevicesResponse.
Constructor Details
#initialize(unbindeddevices = nil, total = nil, requestid = nil) ⇒ DescribeUnbindedDevicesResponse
Returns a new instance of DescribeUnbindedDevicesResponse.
7163 7164 7165 7166 7167 |
# File 'lib/v20190423/models.rb', line 7163 def initialize(unbindeddevices=nil, total=nil, requestid=nil) @UnbindedDevices = unbindeddevices @Total = total @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
7161 7162 7163 |
# File 'lib/v20190423/models.rb', line 7161 def RequestId @RequestId end |
#Total ⇒ Object
7161 7162 7163 |
# File 'lib/v20190423/models.rb', line 7161 def Total @Total end |
#UnbindedDevices ⇒ Object
7161 7162 7163 |
# File 'lib/v20190423/models.rb', line 7161 def UnbindedDevices @UnbindedDevices end |
Instance Method Details
#deserialize(params) ⇒ Object
7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 |
# File 'lib/v20190423/models.rb', line 7169 def deserialize(params) unless params['UnbindedDevices'].nil? @UnbindedDevices = [] params['UnbindedDevices'].each do |i| binddeviceinfo_tmp = BindDeviceInfo.new binddeviceinfo_tmp.deserialize(i) @UnbindedDevices << binddeviceinfo_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |