Class: TencentCloud::Tke::V20180525::DescribeTKEEdgeClustersRequest

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

Overview

DescribeTKEEdgeClusters请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeTKEEdgeClustersRequest.



10281
10282
10283
10284
10285
10286
# File 'lib/v20180525/models.rb', line 10281

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

Instance Attribute Details

#ClusterIdsObject

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

Parameters:



10279
10280
10281
# File 'lib/v20180525/models.rb', line 10279

def ClusterIds
  @ClusterIds
end

#FiltersObject

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

Parameters:



10279
10280
10281
# File 'lib/v20180525/models.rb', line 10279

def Filters
  @Filters
end

#LimitObject

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

Parameters:



10279
10280
10281
# File 'lib/v20180525/models.rb', line 10279

def Limit
  @Limit
end

#OffsetObject

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

Parameters:



10279
10280
10281
# File 'lib/v20180525/models.rb', line 10279

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
# File 'lib/v20180525/models.rb', line 10288

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