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.
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
#Time ⇒ Object
以 5 分钟粒度为例,13:35:00 时间点代表的统计数据区间为 13:35:00 至 13:39:59
13252 13253 13254 |
# File 'lib/v20180606/models.rb', line 13252 def Time @Time end |
#Value ⇒ Object
以 5 分钟粒度为例,13:35:00 时间点代表的统计数据区间为 13:35:00 至 13:39:59
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 |