Class: TencentCloud::Tke::V20180525::DescribeECMInstancesRequest

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

Overview

DescribeECMInstances请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeECMInstancesRequest.



6917
6918
6919
6920
# File 'lib/v20180525/models.rb', line 6917

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

Instance Attribute Details

#ClusterIDObject

仅支持ecm-id过滤

Parameters:

  • ClusterID:

    集群id

  • Filters:

    过滤条件



6915
6916
6917
# File 'lib/v20180525/models.rb', line 6915

def ClusterID
  @ClusterID
end

#FiltersObject

仅支持ecm-id过滤

Parameters:

  • ClusterID:

    集群id

  • Filters:

    过滤条件



6915
6916
6917
# File 'lib/v20180525/models.rb', line 6915

def Filters
  @Filters
end

Instance Method Details

#deserialize(params) ⇒ Object



6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
# File 'lib/v20180525/models.rb', line 6922

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