Class: TencentCloud::Tke::V20180525::DescribeEKSClustersRequest

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

Overview

DescribeEKSClusters请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterids = nil, offset = nil, limit = nil, filters = nil) ⇒ DescribeEKSClustersRequest

Returns a new instance of DescribeEKSClustersRequest.



7045
7046
7047
7048
7049
7050
# File 'lib/v20180525/models.rb', line 7045

def initialize(clusterids=nil, offset=nil, limit=nil, filters=nil)
  @ClusterIds = clusterids
  @Offset = offset
  @Limit = limit
  @Filters = filters
end

Instance Attribute Details

#ClusterIdsObject

表示获取账号下所有集群)

Parameters:

  • ClusterIds:

    集群ID列表(为空时,

  • Offset:

    偏移量,默认0

  • Limit:

    最大输出条数,默认20

  • Filters:

    过滤条件,当前只支持按照单个条件ClusterName进行过滤



7043
7044
7045
# File 'lib/v20180525/models.rb', line 7043

def ClusterIds
  @ClusterIds
end

#FiltersObject

表示获取账号下所有集群)

Parameters:

  • ClusterIds:

    集群ID列表(为空时,

  • Offset:

    偏移量,默认0

  • Limit:

    最大输出条数,默认20

  • Filters:

    过滤条件,当前只支持按照单个条件ClusterName进行过滤



7043
7044
7045
# File 'lib/v20180525/models.rb', line 7043

def Filters
  @Filters
end

#LimitObject

表示获取账号下所有集群)

Parameters:

  • ClusterIds:

    集群ID列表(为空时,

  • Offset:

    偏移量,默认0

  • Limit:

    最大输出条数,默认20

  • Filters:

    过滤条件,当前只支持按照单个条件ClusterName进行过滤



7043
7044
7045
# File 'lib/v20180525/models.rb', line 7043

def Limit
  @Limit
end

#OffsetObject

表示获取账号下所有集群)

Parameters:

  • ClusterIds:

    集群ID列表(为空时,

  • Offset:

    偏移量,默认0

  • Limit:

    最大输出条数,默认20

  • Filters:

    过滤条件,当前只支持按照单个条件ClusterName进行过滤



7043
7044
7045
# File 'lib/v20180525/models.rb', line 7043

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
# File 'lib/v20180525/models.rb', line 7052

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