Class: TencentCloud::Cdn::V20180606::DDoSStatsData

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(time = nil, value = nil) ⇒ DDoSStatsData

Returns a new instance of DDoSStatsData.



3329
3330
3331
3332
# File 'lib/v20180606/models.rb', line 3329

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

Instance Attribute Details

#TimeObject

Parameters:

  • Time:

    时间

  • Value:

    带宽数值,单位bps



3327
3328
3329
# File 'lib/v20180606/models.rb', line 3327

def Time
  @Time
end

#ValueObject

Parameters:

  • Time:

    时间

  • Value:

    带宽数值,单位bps



3327
3328
3329
# File 'lib/v20180606/models.rb', line 3327

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



3334
3335
3336
3337
# File 'lib/v20180606/models.rb', line 3334

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