Class: TencentCloud::Cdn::V20180606::DDoSAttackIPTopData
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DDoSAttackIPTopData
- Defined in:
- lib/v20180606/models.rb
Overview
攻击ip数据详细数据
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(attackip = nil, province = nil, country = nil, isp = nil, attackcount = nil) ⇒ DDoSAttackIPTopData
constructor
A new instance of DDoSAttackIPTopData.
Constructor Details
#initialize(attackip = nil, province = nil, country = nil, isp = nil, attackcount = nil) ⇒ DDoSAttackIPTopData
Returns a new instance of DDoSAttackIPTopData.
3303 3304 3305 3306 3307 3308 3309 |
# File 'lib/v20180606/models.rb', line 3303 def initialize(attackip=nil, province=nil, country=nil, isp=nil, attackcount=nil) @AttackIP = attackip @Province = province @Country = country @Isp = isp @AttackCount = attackcount end |
Instance Attribute Details
#AttackCount ⇒ Object
3301 3302 3303 |
# File 'lib/v20180606/models.rb', line 3301 def AttackCount @AttackCount end |
#AttackIP ⇒ Object
3301 3302 3303 |
# File 'lib/v20180606/models.rb', line 3301 def AttackIP @AttackIP end |
#Country ⇒ Object
3301 3302 3303 |
# File 'lib/v20180606/models.rb', line 3301 def Country @Country end |
#Isp ⇒ Object
3301 3302 3303 |
# File 'lib/v20180606/models.rb', line 3301 def Isp @Isp end |
#Province ⇒ Object
3301 3302 3303 |
# File 'lib/v20180606/models.rb', line 3301 def Province @Province end |
Instance Method Details
#deserialize(params) ⇒ Object
3311 3312 3313 3314 3315 3316 3317 |
# File 'lib/v20180606/models.rb', line 3311 def deserialize(params) @AttackIP = params['AttackIP'] @Province = params['Province'] @Country = params['Country'] @Isp = params['Isp'] @AttackCount = params['AttackCount'] end |