Class: TencentCloud::Iotexplorer::V20190423::DescribeGatewayBindDevicesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::DescribeGatewayBindDevicesResponse
- Defined in:
- lib/v20190423/models.rb
Overview
DescribeGatewayBindDevices返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(devices = nil, total = nil, productname = nil, requestid = nil) ⇒ DescribeGatewayBindDevicesResponse
constructor
A new instance of DescribeGatewayBindDevicesResponse.
Constructor Details
#initialize(devices = nil, total = nil, productname = nil, requestid = nil) ⇒ DescribeGatewayBindDevicesResponse
Returns a new instance of DescribeGatewayBindDevicesResponse.
6124 6125 6126 6127 6128 6129 |
# File 'lib/v20190423/models.rb', line 6124 def initialize(devices=nil, total=nil, productname=nil, requestid=nil) @Devices = devices @Total = total @ProductName = productname @RequestId = requestid end |
Instance Attribute Details
#Devices ⇒ Object
6122 6123 6124 |
# File 'lib/v20190423/models.rb', line 6122 def Devices @Devices end |
#ProductName ⇒ Object
6122 6123 6124 |
# File 'lib/v20190423/models.rb', line 6122 def ProductName @ProductName end |
#RequestId ⇒ Object
6122 6123 6124 |
# File 'lib/v20190423/models.rb', line 6122 def RequestId @RequestId end |
#Total ⇒ Object
6122 6123 6124 |
# File 'lib/v20190423/models.rb', line 6122 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 |
# File 'lib/v20190423/models.rb', line 6131 def deserialize(params) unless params['Devices'].nil? @Devices = [] params['Devices'].each do |i| binddeviceinfo_tmp = BindDeviceInfo.new binddeviceinfo_tmp.deserialize(i) @Devices << binddeviceinfo_tmp end end @Total = params['Total'] @ProductName = params['ProductName'] @RequestId = params['RequestId'] end |