Class: TencentCloud::Waf::V20180125::ModifyWafAutoDenyRulesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::ModifyWafAutoDenyRulesRequest
- Defined in:
- lib/v20180125/models.rb
Overview
ModifyWafAutoDenyRules请求参数结构体
Instance Attribute Summary collapse
- #AttackThreshold ⇒ Object
- #DefenseStatus ⇒ Object
- #DenyTimeThreshold ⇒ Object
- #Domain ⇒ Object
- #TimeThreshold ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, attackthreshold = nil, timethreshold = nil, denytimethreshold = nil, defensestatus = nil) ⇒ ModifyWafAutoDenyRulesRequest
constructor
A new instance of ModifyWafAutoDenyRulesRequest.
Constructor Details
#initialize(domain = nil, attackthreshold = nil, timethreshold = nil, denytimethreshold = nil, defensestatus = nil) ⇒ ModifyWafAutoDenyRulesRequest
Returns a new instance of ModifyWafAutoDenyRulesRequest.
10441 10442 10443 10444 10445 10446 10447 |
# File 'lib/v20180125/models.rb', line 10441 def initialize(domain=nil, attackthreshold=nil, timethreshold=nil, denytimethreshold=nil, defensestatus=nil) @Domain = domain @AttackThreshold = attackthreshold @TimeThreshold = timethreshold @DenyTimeThreshold = denytimethreshold @DefenseStatus = defensestatus end |
Instance Attribute Details
#AttackThreshold ⇒ Object
10439 10440 10441 |
# File 'lib/v20180125/models.rb', line 10439 def AttackThreshold @AttackThreshold end |
#DefenseStatus ⇒ Object
10439 10440 10441 |
# File 'lib/v20180125/models.rb', line 10439 def DefenseStatus @DefenseStatus end |
#DenyTimeThreshold ⇒ Object
10439 10440 10441 |
# File 'lib/v20180125/models.rb', line 10439 def DenyTimeThreshold @DenyTimeThreshold end |
#Domain ⇒ Object
10439 10440 10441 |
# File 'lib/v20180125/models.rb', line 10439 def Domain @Domain end |
#TimeThreshold ⇒ Object
10439 10440 10441 |
# File 'lib/v20180125/models.rb', line 10439 def TimeThreshold @TimeThreshold end |
Instance Method Details
#deserialize(params) ⇒ Object
10449 10450 10451 10452 10453 10454 10455 |
# File 'lib/v20180125/models.rb', line 10449 def deserialize(params) @Domain = params['Domain'] @AttackThreshold = params['AttackThreshold'] @TimeThreshold = params['TimeThreshold'] @DenyTimeThreshold = params['DenyTimeThreshold'] @DefenseStatus = params['DefenseStatus'] end |