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.
6112 6113 6114 6115 6116 6117 |
# File 'lib/v20190423/models.rb', line 6112 def initialize(devices=nil, total=nil, productname=nil, requestid=nil) @Devices = devices @Total = total @ProductName = productname @RequestId = requestid end |
Instance Attribute Details
#Devices ⇒ Object
6110 6111 6112 |
# File 'lib/v20190423/models.rb', line 6110 def Devices @Devices end |
#ProductName ⇒ Object
6110 6111 6112 |
# File 'lib/v20190423/models.rb', line 6110 def ProductName @ProductName end |
#RequestId ⇒ Object
6110 6111 6112 |
# File 'lib/v20190423/models.rb', line 6110 def RequestId @RequestId end |
#Total ⇒ Object
6110 6111 6112 |
# File 'lib/v20190423/models.rb', line 6110 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 |
# File 'lib/v20190423/models.rb', line 6119 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 |