Class: TencentCloud::Iotvideoindustry::V20201201::RecordStatistic
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::RecordStatistic
- Defined in:
- lib/v20201201/models.rb
Overview
大盘统计-录像存储统计 出参RecordStatistic
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(time = nil, value = nil) ⇒ RecordStatistic
constructor
A new instance of RecordStatistic.
Constructor Details
#initialize(time = nil, value = nil) ⇒ RecordStatistic
Returns a new instance of RecordStatistic.
5706 5707 5708 5709 |
# File 'lib/v20201201/models.rb', line 5706 def initialize(time=nil, value=nil) @Time = time @Value = value end |
Instance Attribute Details
#Time ⇒ Object
5704 5705 5706 |
# File 'lib/v20201201/models.rb', line 5704 def Time @Time end |
#Value ⇒ Object
5704 5705 5706 |
# File 'lib/v20201201/models.rb', line 5704 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
5711 5712 5713 5714 5715 5716 5717 |
# File 'lib/v20201201/models.rb', line 5711 def deserialize(params) @Time = params['Time'] unless params['Value'].nil? @Value = RecordStatisticValue.new @Value.deserialize(params['Value']) end end |