Class: TencentCloud::Tke::V20180525::DescribeEdgeClusterInstancesRequest

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

Overview

DescribeEdgeClusterInstances请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeEdgeClusterInstancesRequest.



7428
7429
7430
7431
7432
7433
# File 'lib/v20180525/models.rb', line 7428

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

Instance Attribute Details

#ClusterIDObject

Parameters:

  • ClusterID:

    集群id

  • Limit:

    查询总数

  • Offset:

    偏移量

  • Filters:

    过滤条件,仅支持NodeName过滤



7426
7427
7428
# File 'lib/v20180525/models.rb', line 7426

def ClusterID
  @ClusterID
end

#FiltersObject

Parameters:

  • ClusterID:

    集群id

  • Limit:

    查询总数

  • Offset:

    偏移量

  • Filters:

    过滤条件,仅支持NodeName过滤



7426
7427
7428
# File 'lib/v20180525/models.rb', line 7426

def Filters
  @Filters
end

#LimitObject

Parameters:

  • ClusterID:

    集群id

  • Limit:

    查询总数

  • Offset:

    偏移量

  • Filters:

    过滤条件,仅支持NodeName过滤



7426
7427
7428
# File 'lib/v20180525/models.rb', line 7426

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • ClusterID:

    集群id

  • Limit:

    查询总数

  • Offset:

    偏移量

  • Filters:

    过滤条件,仅支持NodeName过滤



7426
7427
7428
# File 'lib/v20180525/models.rb', line 7426

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
# File 'lib/v20180525/models.rb', line 7435

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