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.



9068
9069
9070
9071
# File 'lib/v20201207/models.rb', line 9068

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

Instance Attribute Details

#RouteListObject

Parameters:

  • RouteList:

  • TotalCount:

    总数



9066
9067
9068
# File 'lib/v20201207/models.rb', line 9066

def RouteList
  @RouteList
end

#TotalCountObject

Parameters:

  • RouteList:

  • TotalCount:

    总数



9066
9067
9068
# File 'lib/v20201207/models.rb', line 9066

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
# File 'lib/v20201207/models.rb', line 9073

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