Class: TencentCloud::Tke::V20220501::DescribeNodePoolsRequest

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

Overview

DescribeNodePools请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, filters = nil, offset = nil, limit = nil) ⇒ DescribeNodePoolsRequest

Returns a new instance of DescribeNodePoolsRequest.



786
787
788
789
790
791
# File 'lib/v20220501/models.rb', line 786

def initialize(clusterid=nil, filters=nil, offset=nil, limit=nil)
  @ClusterId = clusterid
  @Filters = filters
  @Offset = offset
  @Limit = limit
end

Instance Attribute Details

#ClusterIdObject

· tag:tag-key

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

Parameters:

  • Offset:

    偏移量,默认0

  • Limit:

    最大输出条数,默认20,最大为100



784
785
786
# File 'lib/v20220501/models.rb', line 784

def ClusterId
  @ClusterId
end

#FiltersObject

· tag:tag-key

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

Parameters:

  • Offset:

    偏移量,默认0

  • Limit:

    最大输出条数,默认20,最大为100



784
785
786
# File 'lib/v20220501/models.rb', line 784

def Filters
  @Filters
end

#LimitObject

· tag:tag-key

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

Parameters:

  • Offset:

    偏移量,默认0

  • Limit:

    最大输出条数,默认20,最大为100



784
785
786
# File 'lib/v20220501/models.rb', line 784

def Limit
  @Limit
end

#OffsetObject

· tag:tag-key

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

Parameters:

  • Offset:

    偏移量,默认0

  • Limit:

    最大输出条数,默认20,最大为100



784
785
786
# File 'lib/v20220501/models.rb', line 784

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



793
794
795
796
797
798
799
800
801
802
803
804
805
# File 'lib/v20220501/models.rb', line 793

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
  @Offset = params['Offset']
  @Limit = params['Limit']
end