Class: TencentCloud::Tke::V20180525::DescribeClusterNodePoolsRequest

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

Overview

DescribeClusterNodePools请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, filters = nil) ⇒ DescribeClusterNodePoolsRequest

Returns a new instance of DescribeClusterNodePoolsRequest.



6195
6196
6197
6198
# File 'lib/v20180525/models.rb', line 6195

def initialize(clusterid=nil, filters=nil)
  @ClusterId = clusterid
  @Filters = filters
end

Instance Attribute Details

#ClusterIdObject

· “Name”:“Tags”,“Values”: [“abc:1”]

按照【标签键值对】进行过滤。
类型:String
必选:否


6193
6194
6195
# File 'lib/v20180525/models.rb', line 6193

def ClusterId
  @ClusterId
end

#FiltersObject

· “Name”:“Tags”,“Values”: [“abc:1”]

按照【标签键值对】进行过滤。
类型:String
必选:否


6193
6194
6195
# File 'lib/v20180525/models.rb', line 6193

def Filters
  @Filters
end

Instance Method Details

#deserialize(params) ⇒ Object



6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
# File 'lib/v20180525/models.rb', line 6200

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