Class: TencentCloud::Waf::V20180125::AutoDenyDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::AutoDenyDetail
- Defined in:
- lib/v20180125/models.rb
Overview
Waf 攻击自动封禁详情
Instance Attribute Summary collapse
- #AttackTags ⇒ Object
- #AttackThreshold ⇒ Object
- #DefenseStatus ⇒ Object
- #DenyTimeThreshold ⇒ Object
- #LastUpdateTime ⇒ Object
- #TimeThreshold ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(attacktags = nil, attackthreshold = nil, defensestatus = nil, timethreshold = nil, denytimethreshold = nil, lastupdatetime = nil) ⇒ AutoDenyDetail
constructor
A new instance of AutoDenyDetail.
Constructor Details
#initialize(attacktags = nil, attackthreshold = nil, defensestatus = nil, timethreshold = nil, denytimethreshold = nil, lastupdatetime = nil) ⇒ AutoDenyDetail
Returns a new instance of AutoDenyDetail.
1194 1195 1196 1197 1198 1199 1200 1201 |
# File 'lib/v20180125/models.rb', line 1194 def initialize(=nil, attackthreshold=nil, defensestatus=nil, timethreshold=nil, denytimethreshold=nil, lastupdatetime=nil) @AttackTags = @AttackThreshold = attackthreshold @DefenseStatus = defensestatus @TimeThreshold = timethreshold @DenyTimeThreshold = denytimethreshold @LastUpdateTime = lastupdatetime end |
Instance Attribute Details
#AttackTags ⇒ Object
1192 1193 1194 |
# File 'lib/v20180125/models.rb', line 1192 def AttackTags @AttackTags end |
#AttackThreshold ⇒ Object
1192 1193 1194 |
# File 'lib/v20180125/models.rb', line 1192 def AttackThreshold @AttackThreshold end |
#DefenseStatus ⇒ Object
1192 1193 1194 |
# File 'lib/v20180125/models.rb', line 1192 def DefenseStatus @DefenseStatus end |
#DenyTimeThreshold ⇒ Object
1192 1193 1194 |
# File 'lib/v20180125/models.rb', line 1192 def DenyTimeThreshold @DenyTimeThreshold end |
#LastUpdateTime ⇒ Object
1192 1193 1194 |
# File 'lib/v20180125/models.rb', line 1192 def LastUpdateTime @LastUpdateTime end |
#TimeThreshold ⇒ Object
1192 1193 1194 |
# File 'lib/v20180125/models.rb', line 1192 def TimeThreshold @TimeThreshold end |
Instance Method Details
#deserialize(params) ⇒ Object
1203 1204 1205 1206 1207 1208 1209 1210 |
# File 'lib/v20180125/models.rb', line 1203 def deserialize(params) @AttackTags = params['AttackTags'] @AttackThreshold = params['AttackThreshold'] @DefenseStatus = params['DefenseStatus'] @TimeThreshold = params['TimeThreshold'] @DenyTimeThreshold = params['DenyTimeThreshold'] @LastUpdateTime = params['LastUpdateTime'] end |