Class: TencentCloud::Cdn::V20180606::DDoSAttackBandwidthData

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

Overview

ddos攻击带宽峰值数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attacktype = nil, value = nil, time = nil) ⇒ DDoSAttackBandwidthData

Returns a new instance of DDoSAttackBandwidthData.



3275
3276
3277
3278
3279
# File 'lib/v20180606/models.rb', line 3275

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

Instance Attribute Details

#AttackTypeObject

Parameters:

  • AttackType:

    ddos攻击类型,当值为all的时候表示所有的攻击类型的总带宽峰值

  • Value:

    ddos攻击带宽大小

  • Time:

    攻击时间点



3273
3274
3275
# File 'lib/v20180606/models.rb', line 3273

def AttackType
  @AttackType
end

#TimeObject

Parameters:

  • AttackType:

    ddos攻击类型,当值为all的时候表示所有的攻击类型的总带宽峰值

  • Value:

    ddos攻击带宽大小

  • Time:

    攻击时间点



3273
3274
3275
# File 'lib/v20180606/models.rb', line 3273

def Time
  @Time
end

#ValueObject

Parameters:

  • AttackType:

    ddos攻击类型,当值为all的时候表示所有的攻击类型的总带宽峰值

  • Value:

    ddos攻击带宽大小

  • Time:

    攻击时间点



3273
3274
3275
# File 'lib/v20180606/models.rb', line 3273

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



3281
3282
3283
3284
3285
# File 'lib/v20180606/models.rb', line 3281

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