Class: TencentCloud::Live::V20180801::TranscodeTotalInfo

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

Overview

转码总量数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(time = nil, duration = nil, modulecodec = nil, resolution = nil) ⇒ TranscodeTotalInfo

Returns a new instance of TranscodeTotalInfo.



15863
15864
15865
15866
15867
15868
# File 'lib/v20180801/models.rb', line 15863

def initialize(time=nil, duration=nil, modulecodec=nil, resolution=nil)
  @Time = time
  @Duration = duration
  @ModuleCodec = modulecodec
  @Resolution = resolution
end

Instance Attribute Details

#DurationObject

使用UTC格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/266/11732#I)。示例:liveprocessor_H264 =》直播转码-H264,liveprocessor_H265 =》 直播转码-H265,topspeed_H264 =》极速高清-H264,topspeed_H265 =》极速高清-H265。示例:540*480。

Parameters:

  • Time:

    时间点,

  • Duration:

    转码时长,单位:分钟。

  • ModuleCodec:

    编码方式,带模块,

  • Resolution:

    分辨率,



15861
15862
15863
# File 'lib/v20180801/models.rb', line 15861

def Duration
  @Duration
end

#ModuleCodecObject

使用UTC格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/266/11732#I)。示例:liveprocessor_H264 =》直播转码-H264,liveprocessor_H265 =》 直播转码-H265,topspeed_H264 =》极速高清-H264,topspeed_H265 =》极速高清-H265。示例:540*480。

Parameters:

  • Time:

    时间点,

  • Duration:

    转码时长,单位:分钟。

  • ModuleCodec:

    编码方式,带模块,

  • Resolution:

    分辨率,



15861
15862
15863
# File 'lib/v20180801/models.rb', line 15861

def ModuleCodec
  @ModuleCodec
end

#ResolutionObject

使用UTC格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/266/11732#I)。示例:liveprocessor_H264 =》直播转码-H264,liveprocessor_H265 =》 直播转码-H265,topspeed_H264 =》极速高清-H264,topspeed_H265 =》极速高清-H265。示例:540*480。

Parameters:

  • Time:

    时间点,

  • Duration:

    转码时长,单位:分钟。

  • ModuleCodec:

    编码方式,带模块,

  • Resolution:

    分辨率,



15861
15862
15863
# File 'lib/v20180801/models.rb', line 15861

def Resolution
  @Resolution
end

#TimeObject

使用UTC格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/266/11732#I)。示例:liveprocessor_H264 =》直播转码-H264,liveprocessor_H265 =》 直播转码-H265,topspeed_H264 =》极速高清-H264,topspeed_H265 =》极速高清-H265。示例:540*480。

Parameters:

  • Time:

    时间点,

  • Duration:

    转码时长,单位:分钟。

  • ModuleCodec:

    编码方式,带模块,

  • Resolution:

    分辨率,



15861
15862
15863
# File 'lib/v20180801/models.rb', line 15861

def Time
  @Time
end

Instance Method Details

#deserialize(params) ⇒ Object



15870
15871
15872
15873
15874
15875
# File 'lib/v20180801/models.rb', line 15870

def deserialize(params)
  @Time = params['Time']
  @Duration = params['Duration']
  @ModuleCodec = params['ModuleCodec']
  @Resolution = params['Resolution']
end