Class: TencentCloud::Live::V20180801::TimeValue
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::TimeValue
- Defined in:
- lib/v20180801/models.rb
Overview
某个时间点的指标的数值是多少。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(time = nil, num = nil) ⇒ TimeValue
constructor
A new instance of TimeValue.
Constructor Details
#initialize(time = nil, num = nil) ⇒ TimeValue
Returns a new instance of TimeValue.
15641 15642 15643 15644 |
# File 'lib/v20180801/models.rb', line 15641 def initialize(time=nil, num=nil) @Time = time @Num = num end |
Instance Attribute Details
#Num ⇒ Object
15639 15640 15641 |
# File 'lib/v20180801/models.rb', line 15639 def Num @Num end |
#Time ⇒ Object
15639 15640 15641 |
# File 'lib/v20180801/models.rb', line 15639 def Time @Time end |
Instance Method Details
#deserialize(params) ⇒ Object
15646 15647 15648 15649 |
# File 'lib/v20180801/models.rb', line 15646 def deserialize(params) @Time = params['Time'] @Num = params['Num'] end |