Class: TencentCloud::Cws::V20180312::Filter
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cws::V20180312::Filter
- Defined in:
- lib/v20180312/models.rb
Overview
若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, values = nil) ⇒ Filter
constructor
A new instance of Filter.
Constructor Details
#initialize(name = nil, values = nil) ⇒ Filter
Returns a new instance of Filter.
769 770 771 772 |
# File 'lib/v20180312/models.rb', line 769 def initialize(name=nil, values=nil) @Name = name @Values = values end |
Instance Attribute Details
#Name ⇒ Object
767 768 769 |
# File 'lib/v20180312/models.rb', line 767 def Name @Name end |
#Values ⇒ Object
767 768 769 |
# File 'lib/v20180312/models.rb', line 767 def Values @Values end |
Instance Method Details
#deserialize(params) ⇒ Object
774 775 776 777 |
# File 'lib/v20180312/models.rb', line 774 def deserialize(params) @Name = params['Name'] @Values = params['Values'] end |