Class: TencentCloud::Cdn::V20180606::ScdnWafRule
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::ScdnWafRule
- Defined in:
- lib/v20180606/models.rb
Overview
Waf 规则信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(attacktype = nil, operate = nil) ⇒ ScdnWafRule
constructor
A new instance of ScdnWafRule.
Constructor Details
#initialize(attacktype = nil, operate = nil) ⇒ ScdnWafRule
Returns a new instance of ScdnWafRule.
12573 12574 12575 12576 |
# File 'lib/v20180606/models.rb', line 12573 def initialize(attacktype=nil, operate=nil) @AttackType = attacktype @Operate = operate end |
Instance Attribute Details
#AttackType ⇒ Object
12571 12572 12573 |
# File 'lib/v20180606/models.rb', line 12571 def AttackType @AttackType end |
#Operate ⇒ Object
12571 12572 12573 |
# File 'lib/v20180606/models.rb', line 12571 def Operate @Operate end |
Instance Method Details
#deserialize(params) ⇒ Object
12578 12579 12580 12581 |
# File 'lib/v20180606/models.rb', line 12578 def deserialize(params) @AttackType = params['AttackType'] @Operate = params['Operate'] end |