Class: TencentCloud::Iss::V20230517::ListGatewayDevicesData

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

Overview

查询网关设备列表返回数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(list = nil, totalcount = nil) ⇒ ListGatewayDevicesData

Returns a new instance of ListGatewayDevicesData.



4959
4960
4961
4962
# File 'lib/v20230517/models.rb', line 4959

def initialize(list=nil, totalcount=nil)
  @List = list
  @TotalCount = totalcount
end

Instance Attribute Details

#ListObject

Parameters:

  • List:

    网关下设备列表

  • TotalCount:

    网关下设备总数



4957
4958
4959
# File 'lib/v20230517/models.rb', line 4957

def List
  @List
end

#TotalCountObject

Parameters:

  • List:

    网关下设备列表

  • TotalCount:

    网关下设备总数



4957
4958
4959
# File 'lib/v20230517/models.rb', line 4957

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
# File 'lib/v20230517/models.rb', line 4964

def deserialize(params)
  unless params['List'].nil?
    @List = []
    params['List'].each do |i|
      gatewaydevice_tmp = GatewayDevice.new
      gatewaydevice_tmp.deserialize(i)
      @List << gatewaydevice_tmp
    end
  end
  @TotalCount = params['TotalCount']
end