Class: TencentCloud::Emr::V20190103::Filter

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

Overview

键值对过滤器,用于条件过滤查询.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, values = nil) ⇒ Filter

Returns a new instance of Filter.



6863
6864
6865
6866
# File 'lib/v20190103/models.rb', line 6863

def initialize(name=nil, values=nil)
  @Name = name
  @Values = values
end

Instance Attribute Details

#NameObject

Parameters:

  • 需要过滤的字段。

  • 字段的过滤值。



6861
6862
6863
# File 'lib/v20190103/models.rb', line 6861

def Name
  @Name
end

#ValuesObject

Parameters:

  • 需要过滤的字段。

  • 字段的过滤值。



6861
6862
6863
# File 'lib/v20190103/models.rb', line 6861

def Values
  @Values
end

Instance Method Details

#deserialize(params) ⇒ Object



6868
6869
6870
6871
# File 'lib/v20190103/models.rb', line 6868

def deserialize(params)
  @Name = params['Name']
  @Values = params['Values']
end