Class: TencentCloud::Tse::V20201207::KongServiceRouteList

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

Overview

kong服务路由列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(routelist = nil, totalcount = nil) ⇒ KongServiceRouteList

Returns a new instance of KongServiceRouteList.



9050
9051
9052
9053
# File 'lib/v20201207/models.rb', line 9050

def initialize(routelist=nil, totalcount=nil)
  @RouteList = routelist
  @TotalCount = totalcount
end

Instance Attribute Details

#RouteListObject

Parameters:

  • RouteList:

  • TotalCount:

    总数



9048
9049
9050
# File 'lib/v20201207/models.rb', line 9048

def RouteList
  @RouteList
end

#TotalCountObject

Parameters:

  • RouteList:

  • TotalCount:

    总数



9048
9049
9050
# File 'lib/v20201207/models.rb', line 9048

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
# File 'lib/v20201207/models.rb', line 9055

def deserialize(params)
  unless params['RouteList'].nil?
    @RouteList = []
    params['RouteList'].each do |i|
      kongroutepreview_tmp = KongRoutePreview.new
      kongroutepreview_tmp.deserialize(i)
      @RouteList << kongroutepreview_tmp
    end
  end
  @TotalCount = params['TotalCount']
end