Class: TencentCloud::Iss::V20230517::ListGatewaysData

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) ⇒ ListGatewaysData

Returns a new instance of ListGatewaysData.



5033
5034
5035
5036
# File 'lib/v20230517/models.rb', line 5033

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

Instance Attribute Details

#ListObject

Parameters:

  • List:

    网关列表

  • TotalCount:

    网关数量



5031
5032
5033
# File 'lib/v20230517/models.rb', line 5031

def List
  @List
end

#TotalCountObject

Parameters:

  • List:

    网关列表

  • TotalCount:

    网关数量



5031
5032
5033
# File 'lib/v20230517/models.rb', line 5031

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
# File 'lib/v20230517/models.rb', line 5038

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