Class: TencentCloud::Tke::V20180525::DescribeEdgeCVMInstancesRequest

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

Overview

DescribeEdgeCVMInstances请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, filters = nil) ⇒ DescribeEdgeCVMInstancesRequest

Returns a new instance of DescribeEdgeCVMInstancesRequest.



7333
7334
7335
7336
# File 'lib/v20180525/models.rb', line 7333

def initialize(clusterid=nil, filters=nil)
  @ClusterID = clusterid
  @Filters = filters
end

Instance Attribute Details

#ClusterIDObject

仅支持cvm-id过滤

Parameters:

  • ClusterID:

    集群id

  • Filters:

    过滤条件



7331
7332
7333
# File 'lib/v20180525/models.rb', line 7331

def ClusterID
  @ClusterID
end

#FiltersObject

仅支持cvm-id过滤

Parameters:

  • ClusterID:

    集群id

  • Filters:

    过滤条件



7331
7332
7333
# File 'lib/v20180525/models.rb', line 7331

def Filters
  @Filters
end

Instance Method Details

#deserialize(params) ⇒ Object



7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
# File 'lib/v20180525/models.rb', line 7338

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
end