Class: TencentCloud::Iotvideoindustry::V20201201::RecordStatistic

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

Overview

大盘统计-录像存储统计 出参RecordStatistic

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#TimeObject

Parameters:

  • Time:

    时间戳

  • Value:

    统计结果



5704
5705
5706
# File 'lib/v20201201/models.rb', line 5704

def Time
  @Time
end

#ValueObject

Parameters:

  • Time:

    时间戳

  • Value:

    统计结果



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