Class: TencentCloud::Cdn::V20180606::DDoSTopData

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180606/models.rb

Overview

DDoS攻击Top数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attacktype = nil, value = nil) ⇒ DDoSTopData

Returns a new instance of DDoSTopData.



3349
3350
3351
3352
# File 'lib/v20180606/models.rb', line 3349

def initialize(attacktype=nil, value=nil)
  @AttackType = attacktype
  @Value = value
end

Instance Attribute Details

#AttackTypeObject

Parameters:

  • AttackType:

    攻击类型

  • Value:

    攻击带宽,单位:bps



3347
3348
3349
# File 'lib/v20180606/models.rb', line 3347

def AttackType
  @AttackType
end

#ValueObject

Parameters:

  • AttackType:

    攻击类型

  • Value:

    攻击带宽,单位:bps



3347
3348
3349
# File 'lib/v20180606/models.rb', line 3347

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



3354
3355
3356
3357
# File 'lib/v20180606/models.rb', line 3354

def deserialize(params)
  @AttackType = params['AttackType']
  @Value = params['Value']
end