Class: TencentCloud::Tse::V20201207::GatewayServices

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

Overview

轻量查询网关服务列表出参

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(servicelist = nil, totalcount = nil) ⇒ GatewayServices

Returns a new instance of GatewayServices.



7729
7730
7731
7732
# File 'lib/v20201207/models.rb', line 7729

def initialize(servicelist=nil, totalcount=nil)
  @ServiceList = servicelist
  @TotalCount = totalcount
end

Instance Attribute Details

#ServiceListObject

Parameters:

  • ServiceList:

    服务列表

  • TotalCount:

    结果总数



7727
7728
7729
# File 'lib/v20201207/models.rb', line 7727

def ServiceList
  @ServiceList
end

#TotalCountObject

Parameters:

  • ServiceList:

    服务列表

  • TotalCount:

    结果总数



7727
7728
7729
# File 'lib/v20201207/models.rb', line 7727

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
# File 'lib/v20201207/models.rb', line 7734

def deserialize(params)
  unless params['ServiceList'].nil?
    @ServiceList = []
    params['ServiceList'].each do |i|
      kongservicelightpreview_tmp = KongServiceLightPreview.new
      kongservicelightpreview_tmp.deserialize(i)
      @ServiceList << kongservicelightpreview_tmp
    end
  end
  @TotalCount = params['TotalCount']
end