Class: TencentCloud::Tke::V20180525::DescribeClusterRoutesRequest

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

Overview

DescribeClusterRoutes请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(routetablename = nil, filters = nil) ⇒ DescribeClusterRoutesRequest

Returns a new instance of DescribeClusterRoutesRequest.



6563
6564
6565
6566
# File 'lib/v20180525/models.rb', line 6563

def initialize(routetablename=nil, filters=nil)
  @RouteTableName = routetablename
  @Filters = filters
end

Instance Attribute Details

#FiltersObject

Parameters:

  • RouteTableName:

    路由表名称。

  • Filters:

    过滤条件,当前只支持按照单个条件GatewayIP进行过滤(可选)



6561
6562
6563
# File 'lib/v20180525/models.rb', line 6561

def Filters
  @Filters
end

#RouteTableNameObject

Parameters:

  • RouteTableName:

    路由表名称。

  • Filters:

    过滤条件,当前只支持按照单个条件GatewayIP进行过滤(可选)



6561
6562
6563
# File 'lib/v20180525/models.rb', line 6561

def RouteTableName
  @RouteTableName
end

Instance Method Details

#deserialize(params) ⇒ Object



6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
# File 'lib/v20180525/models.rb', line 6568

def deserialize(params)
  @RouteTableName = params['RouteTableName']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filter_tmp = Filter.new
      filter_tmp.deserialize(i)
      @Filters << filter_tmp
    end
  end
end