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.
1041 1042 1043 1044 1045 1046 1047 1048 |
# File 'lib/v20180125/models.rb', line 1041 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
1039 1040 1041 |
# File 'lib/v20180125/models.rb', line 1039 def AttackTags @AttackTags end |
#AttackThreshold ⇒ Object
1039 1040 1041 |
# File 'lib/v20180125/models.rb', line 1039 def AttackThreshold @AttackThreshold end |
#DefenseStatus ⇒ Object
1039 1040 1041 |
# File 'lib/v20180125/models.rb', line 1039 def DefenseStatus @DefenseStatus end |
#DenyTimeThreshold ⇒ Object
1039 1040 1041 |
# File 'lib/v20180125/models.rb', line 1039 def DenyTimeThreshold @DenyTimeThreshold end |
#LastUpdateTime ⇒ Object
1039 1040 1041 |
# File 'lib/v20180125/models.rb', line 1039 def LastUpdateTime @LastUpdateTime end |
#TimeThreshold ⇒ Object
1039 1040 1041 |
# File 'lib/v20180125/models.rb', line 1039 def TimeThreshold @TimeThreshold end |
Instance Method Details
#deserialize(params) ⇒ Object
1050 1051 1052 1053 1054 1055 1056 1057 |
# File 'lib/v20180125/models.rb', line 1050 def deserialize(params) @AttackTags = params['AttackTags'] @AttackThreshold = params['AttackThreshold'] @DefenseStatus = params['DefenseStatus'] @TimeThreshold = params['TimeThreshold'] @DenyTimeThreshold = params['DenyTimeThreshold'] @LastUpdateTime = params['LastUpdateTime'] end |