Class: TencentCloud::Essbasic::V20210526::Filter

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

Overview

此结构体 (Filter) 用于描述查询过滤条件。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Filter.



9044
9045
9046
9047
# File 'lib/v20210526/models.rb', line 9044

def initialize(key=nil, values=nil)
  @Key = key
  @Values = values
end

Instance Attribute Details

#KeyObject

Parameters:

  • 查询过滤条件的Key

  • 查询过滤条件的Value列表



9042
9043
9044
# File 'lib/v20210526/models.rb', line 9042

def Key
  @Key
end

#ValuesObject

Parameters:

  • 查询过滤条件的Key

  • 查询过滤条件的Value列表



9042
9043
9044
# File 'lib/v20210526/models.rb', line 9042

def Values
  @Values
end

Instance Method Details

#deserialize(params) ⇒ Object



9049
9050
9051
9052
# File 'lib/v20210526/models.rb', line 9049

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