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.
1855 1856 1857 1858 1859 1860 1861 1862 |
# File 'lib/v20180125/models.rb', line 1855 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
1853 1854 1855 |
# File 'lib/v20180125/models.rb', line 1853 def AttackTags @AttackTags end |
#AttackThreshold ⇒ Object
1853 1854 1855 |
# File 'lib/v20180125/models.rb', line 1853 def AttackThreshold @AttackThreshold end |
#DefenseStatus ⇒ Object
1853 1854 1855 |
# File 'lib/v20180125/models.rb', line 1853 def DefenseStatus @DefenseStatus end |
#DenyTimeThreshold ⇒ Object
1853 1854 1855 |
# File 'lib/v20180125/models.rb', line 1853 def DenyTimeThreshold @DenyTimeThreshold end |
#LastUpdateTime ⇒ Object
1853 1854 1855 |
# File 'lib/v20180125/models.rb', line 1853 def LastUpdateTime @LastUpdateTime end |
#TimeThreshold ⇒ Object
1853 1854 1855 |
# File 'lib/v20180125/models.rb', line 1853 def TimeThreshold @TimeThreshold end |
Instance Method Details
#deserialize(params) ⇒ Object
1864 1865 1866 1867 1868 1869 1870 1871 |
# File 'lib/v20180125/models.rb', line 1864 def deserialize(params) @AttackTags = params['AttackTags'] @AttackThreshold = params['AttackThreshold'] @DefenseStatus = params['DefenseStatus'] @TimeThreshold = params['TimeThreshold'] @DenyTimeThreshold = params['DenyTimeThreshold'] @LastUpdateTime = params['LastUpdateTime'] end |