Class: TencentCloud::Waf::V20180125::Strategy
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::Strategy
- Defined in:
- lib/v20180125/models.rb
Overview
自定义规则的匹配条件结构体
Instance Attribute Summary collapse
-
#Arg ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CompareFunc ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Content ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Field ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(field = nil, comparefunc = nil, content = nil, arg = nil) ⇒ Strategy
constructor
A new instance of Strategy.
Constructor Details
#initialize(field = nil, comparefunc = nil, content = nil, arg = nil) ⇒ Strategy
Returns a new instance of Strategy.
12536 12537 12538 12539 12540 12541 |
# File 'lib/v20180125/models.rb', line 12536 def initialize(field=nil, comparefunc=nil, content=nil, arg=nil) @Field = field @CompareFunc = comparefunc @Content = content @Arg = arg end |
Instance Attribute Details
#Arg ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12534 12535 12536 |
# File 'lib/v20180125/models.rb', line 12534 def Arg @Arg end |
#CompareFunc ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12534 12535 12536 |
# File 'lib/v20180125/models.rb', line 12534 def CompareFunc @CompareFunc end |
#Content ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12534 12535 12536 |
# File 'lib/v20180125/models.rb', line 12534 def Content @Content end |
#Field ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12534 12535 12536 |
# File 'lib/v20180125/models.rb', line 12534 def Field @Field end |
Instance Method Details
#deserialize(params) ⇒ Object
12543 12544 12545 12546 12547 12548 |
# File 'lib/v20180125/models.rb', line 12543 def deserialize(params) @Field = params['Field'] @CompareFunc = params['CompareFunc'] @Content = params['Content'] @Arg = params['Arg'] end |