Class: TencentCloud::Cls::V20201016::AdvanceFilterRuleInfo

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

Overview

高级过滤规则

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, rule = nil, value = nil) ⇒ AdvanceFilterRuleInfo

Returns a new instance of AdvanceFilterRuleInfo.



72
73
74
75
76
# File 'lib/v20201016/models.rb', line 72

def initialize(key=nil, rule=nil, value=nil)
  @Key = key
  @Rule = rule
  @Value = value
end

Instance Attribute Details

#Key ⇒ Object

Parameters:

  • Key: —

    过滤字段

  • Rule: —

    过滤规则,0:等于,1:字段存在,2:字段不存在

  • Value: —

    过滤值



70
71
72
# File 'lib/v20201016/models.rb', line 70

def Key
  @Key
end

#Rule ⇒ Object

Parameters:

  • Key: —

    过滤字段

  • Rule: —

    过滤规则,0:等于,1:字段存在,2:字段不存在

  • Value: —

    过滤值



70
71
72
# File 'lib/v20201016/models.rb', line 70

def Rule
  @Rule
end

#Value ⇒ Object

Parameters:

  • Key: —

    过滤字段

  • Rule: —

    过滤规则,0:等于,1:字段存在,2:字段不存在

  • Value: —

    过滤值



70
71
72
# File 'lib/v20201016/models.rb', line 70

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



78
79
80
81
82
# File 'lib/v20201016/models.rb', line 78

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