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.
11496 11497 11498 11499 11500 11501 |
# File 'lib/v20180125/models.rb', line 11496 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,表示取不到有效值。
11494 11495 11496 |
# File 'lib/v20180125/models.rb', line 11494 def Arg @Arg end |
#CompareFunc ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
11494 11495 11496 |
# File 'lib/v20180125/models.rb', line 11494 def CompareFunc @CompareFunc end |
#Content ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
11494 11495 11496 |
# File 'lib/v20180125/models.rb', line 11494 def Content @Content end |
#Field ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
11494 11495 11496 |
# File 'lib/v20180125/models.rb', line 11494 def Field @Field end |
Instance Method Details
#deserialize(params) ⇒ Object
11503 11504 11505 11506 11507 11508 |
# File 'lib/v20180125/models.rb', line 11503 def deserialize(params) @Field = params['Field'] @CompareFunc = params['CompareFunc'] @Content = params['Content'] @Arg = params['Arg'] end |