Class: TencentCloud::Iotcloud::V20210408::DescribeGatewayBindDevicesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::DescribeGatewayBindDevicesResponse
- Defined in:
- lib/v20210408/models.rb
Overview
DescribeGatewayBindDevices返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, devices = nil, productname = nil, requestid = nil) ⇒ DescribeGatewayBindDevicesResponse
constructor
A new instance of DescribeGatewayBindDevicesResponse.
Constructor Details
#initialize(totalcount = nil, devices = nil, productname = nil, requestid = nil) ⇒ DescribeGatewayBindDevicesResponse
1886 1887 1888 1889 1890 1891 |
# File 'lib/v20210408/models.rb', line 1886 def initialize(totalcount=nil, devices=nil, productname=nil, requestid=nil) @TotalCount = totalcount @Devices = devices @ProductName = productname @RequestId = requestid end |
Instance Attribute Details
#Devices ⇒ Object
1884 1885 1886 |
# File 'lib/v20210408/models.rb', line 1884 def Devices @Devices end |
#ProductName ⇒ Object
1884 1885 1886 |
# File 'lib/v20210408/models.rb', line 1884 def ProductName @ProductName end |
#RequestId ⇒ Object
1884 1885 1886 |
# File 'lib/v20210408/models.rb', line 1884 def RequestId @RequestId end |
#TotalCount ⇒ Object
1884 1885 1886 |
# File 'lib/v20210408/models.rb', line 1884 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 |
# File 'lib/v20210408/models.rb', line 1893 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Devices'].nil? @Devices = [] params['Devices'].each do |i| binddeviceinfo_tmp = BindDeviceInfo.new binddeviceinfo_tmp.deserialize(i) @Devices << binddeviceinfo_tmp end end @ProductName = params['ProductName'] @RequestId = params['RequestId'] end |