Class: TencentCloud::Cdn::V20180606::TimestampData
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::TimestampData
- Defined in:
- lib/v20180606/models.rb
Overview
时间戳与其对应的数值
Instance Attribute Summary collapse
-
#Time ⇒ Object
以 5 分钟粒度为例,13:35:00 时间点代表的统计数据区间为 13:35:00 至 13:39:59.
-
#Value ⇒ Object
以 5 分钟粒度为例,13:35:00 时间点代表的统计数据区间为 13:35:00 至 13:39:59.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(time = nil, value = nil) ⇒ TimestampData
constructor
A new instance of TimestampData.
Constructor Details
#initialize(time = nil, value = nil) ⇒ TimestampData
Returns a new instance of TimestampData.
9705 9706 9707 9708 |
# File 'lib/v20180606/models.rb', line 9705 def initialize(time=nil, value=nil) @Time = time @Value = value end |
Instance Attribute Details
#Time ⇒ Object
以 5 分钟粒度为例,13:35:00 时间点代表的统计数据区间为 13:35:00 至 13:39:59
9703 9704 9705 |
# File 'lib/v20180606/models.rb', line 9703 def Time @Time end |
#Value ⇒ Object
以 5 分钟粒度为例,13:35:00 时间点代表的统计数据区间为 13:35:00 至 13:39:59
9703 9704 9705 |
# File 'lib/v20180606/models.rb', line 9703 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
9710 9711 9712 9713 |
# File 'lib/v20180606/models.rb', line 9710 def deserialize(params) @Time = params['Time'] @Value = params['Value'] end |