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.
12554 12555 12556 12557 |
# File 'lib/v20180606/models.rb', line 12554 def initialize(attacktype=nil, operate=nil) @AttackType = attacktype @Operate = operate end |
Instance Attribute Details
#AttackType ⇒ Object
12552 12553 12554 |
# File 'lib/v20180606/models.rb', line 12552 def AttackType @AttackType end |
#Operate ⇒ Object
12552 12553 12554 |
# File 'lib/v20180606/models.rb', line 12552 def Operate @Operate end |
Instance Method Details
#deserialize(params) ⇒ Object
12559 12560 12561 12562 |
# File 'lib/v20180606/models.rb', line 12559 def deserialize(params) @AttackType = params['AttackType'] @Operate = params['Operate'] end |