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.



10992
10993
10994
10995
10996
10997
# File 'lib/v20180525/models.rb', line 10992

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

Instance Attribute Details

#ClusterIdsObject

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

Parameters:



10990
10991
10992
# File 'lib/v20180525/models.rb', line 10990

def ClusterIds
  @ClusterIds
end

#FiltersObject

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

Parameters:



10990
10991
10992
# File 'lib/v20180525/models.rb', line 10990

def Filters
  @Filters
end

#LimitObject

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

Parameters:



10990
10991
10992
# File 'lib/v20180525/models.rb', line 10990

def Limit
  @Limit
end

#OffsetObject

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

Parameters:



10990
10991
10992
# File 'lib/v20180525/models.rb', line 10990

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
# File 'lib/v20180525/models.rb', line 10999

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