Class: TencentCloud::Iotcloud::V20210408::DescribeGatewayBindDevicesResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210408/models.rb

Overview

DescribeGatewayBindDevices返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, devices = nil, productname = nil, requestid = nil) ⇒ DescribeGatewayBindDevicesResponse

Returns a new instance of 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

#DevicesObject

Parameters:

  • TotalCount:

    子设备总数

  • Devices:

    子设备信息

  • ProductName:

    子设备所属的产品名

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1884
1885
1886
# File 'lib/v20210408/models.rb', line 1884

def Devices
  @Devices
end

#ProductNameObject

Parameters:

  • TotalCount:

    子设备总数

  • Devices:

    子设备信息

  • ProductName:

    子设备所属的产品名

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1884
1885
1886
# File 'lib/v20210408/models.rb', line 1884

def ProductName
  @ProductName
end

#RequestIdObject

Parameters:

  • TotalCount:

    子设备总数

  • Devices:

    子设备信息

  • ProductName:

    子设备所属的产品名

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1884
1885
1886
# File 'lib/v20210408/models.rb', line 1884

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    子设备总数

  • Devices:

    子设备信息

  • ProductName:

    子设备所属的产品名

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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