Class: TencentCloud::Cdn::V20180606::TimestampData

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

Overview

时间戳与其对应的数值

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(time = nil, value = nil) ⇒ TimestampData

Returns a new instance of TimestampData.



13254
13255
13256
13257
# File 'lib/v20180606/models.rb', line 13254

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

Instance Attribute Details

#TimeObject

以 5 分钟粒度为例,13:35:00 时间点代表的统计数据区间为 13:35:00 至 13:39:59

Parameters:

  • Time:

    数据统计时间点,采用向前汇总模式

  • Value:

    数据值



13252
13253
13254
# File 'lib/v20180606/models.rb', line 13252

def Time
  @Time
end

#ValueObject

以 5 分钟粒度为例,13:35:00 时间点代表的统计数据区间为 13:35:00 至 13:39:59

Parameters:

  • Time:

    数据统计时间点,采用向前汇总模式

  • Value:

    数据值



13252
13253
13254
# File 'lib/v20180606/models.rb', line 13252

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



13259
13260
13261
13262
# File 'lib/v20180606/models.rb', line 13259

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