Class: TencentCloud::Tse::V20201207::DescribeCloudNativeAPIGatewayRoutesRequest

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

Overview

DescribeCloudNativeAPIGatewayRoutes请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gatewayid = nil, limit = nil, offset = nil, servicename = nil, routename = nil, filters = nil) ⇒ DescribeCloudNativeAPIGatewayRoutesRequest

Returns a new instance of DescribeCloudNativeAPIGatewayRoutesRequest.



5017
5018
5019
5020
5021
5022
5023
5024
# File 'lib/v20201207/models.rb', line 5017

def initialize(gatewayid=nil, limit=nil, offset=nil, servicename=nil, routename=nil, filters=nil)
  @GatewayId = gatewayid
  @Limit = limit
  @Offset = offset
  @ServiceName = servicename
  @RouteName = routename
  @Filters = filters
end

Instance Attribute Details

#FiltersObject

Parameters:

  • GatewayId:

    网关ID

  • Limit:
  • Offset:

    翻页单页偏移量,默认值0

  • ServiceName:

    服务的名字,精确匹配

  • RouteName:

    路由的名字,精确匹配

  • Filters:

    过滤条件,多个过滤条件之间是与的关系,支持 name, path, host, method, service, protocol



5015
5016
5017
# File 'lib/v20201207/models.rb', line 5015

def Filters
  @Filters
end

#GatewayIdObject

Parameters:

  • GatewayId:

    网关ID

  • Limit:
  • Offset:

    翻页单页偏移量,默认值0

  • ServiceName:

    服务的名字,精确匹配

  • RouteName:

    路由的名字,精确匹配

  • Filters:

    过滤条件,多个过滤条件之间是与的关系,支持 name, path, host, method, service, protocol



5015
5016
5017
# File 'lib/v20201207/models.rb', line 5015

def GatewayId
  @GatewayId
end

#LimitObject

Parameters:

  • GatewayId:

    网关ID

  • Limit:
  • Offset:

    翻页单页偏移量,默认值0

  • ServiceName:

    服务的名字,精确匹配

  • RouteName:

    路由的名字,精确匹配

  • Filters:

    过滤条件,多个过滤条件之间是与的关系,支持 name, path, host, method, service, protocol



5015
5016
5017
# File 'lib/v20201207/models.rb', line 5015

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • GatewayId:

    网关ID

  • Limit:
  • Offset:

    翻页单页偏移量,默认值0

  • ServiceName:

    服务的名字,精确匹配

  • RouteName:

    路由的名字,精确匹配

  • Filters:

    过滤条件,多个过滤条件之间是与的关系,支持 name, path, host, method, service, protocol



5015
5016
5017
# File 'lib/v20201207/models.rb', line 5015

def Offset
  @Offset
end

#RouteNameObject

Parameters:

  • GatewayId:

    网关ID

  • Limit:
  • Offset:

    翻页单页偏移量,默认值0

  • ServiceName:

    服务的名字,精确匹配

  • RouteName:

    路由的名字,精确匹配

  • Filters:

    过滤条件,多个过滤条件之间是与的关系,支持 name, path, host, method, service, protocol



5015
5016
5017
# File 'lib/v20201207/models.rb', line 5015

def RouteName
  @RouteName
end

#ServiceNameObject

Parameters:

  • GatewayId:

    网关ID

  • Limit:
  • Offset:

    翻页单页偏移量,默认值0

  • ServiceName:

    服务的名字,精确匹配

  • RouteName:

    路由的名字,精确匹配

  • Filters:

    过滤条件,多个过滤条件之间是与的关系,支持 name, path, host, method, service, protocol



5015
5016
5017
# File 'lib/v20201207/models.rb', line 5015

def ServiceName
  @ServiceName
end

Instance Method Details

#deserialize(params) ⇒ Object



5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
# File 'lib/v20201207/models.rb', line 5026

def deserialize(params)
  @GatewayId = params['GatewayId']
  @Limit = params['Limit']
  @Offset = params['Offset']
  @ServiceName = params['ServiceName']
  @RouteName = params['RouteName']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      listfilter_tmp = ListFilter.new
      listfilter_tmp.deserialize(i)
      @Filters << listfilter_tmp
    end
  end
end