Class: TencentCloud::Vod::V20180717::TranscodePlayInfo2017

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

Overview

视频转码播放信息(2017 版)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url = nil, definition = nil, bitrate = nil, height = nil, width = nil) ⇒ TranscodePlayInfo2017

Returns a new instance of TranscodePlayInfo2017.



28311
28312
28313
28314
28315
28316
28317
# File 'lib/v20180717/models.rb', line 28311

def initialize(url=nil, definition=nil, bitrate=nil, height=nil, width=nil)
  @Url = url
  @Definition = definition
  @Bitrate = bitrate
  @Height = height
  @Width = width
end

Instance Attribute Details

#BitrateObject

Parameters:

  • Url:

    播放地址。

  • Definition:
  • Bitrate:

    视频流码率平均值与音频流码率平均值之和, 单位:bps。

  • Height:

    视频流高度的最大值,单位:px。

  • Width:

    视频流宽度的最大值,单位:px。



28309
28310
28311
# File 'lib/v20180717/models.rb', line 28309

def Bitrate
  @Bitrate
end

#DefinitionObject

Parameters:

  • Url:

    播放地址。

  • Definition:
  • Bitrate:

    视频流码率平均值与音频流码率平均值之和, 单位:bps。

  • Height:

    视频流高度的最大值,单位:px。

  • Width:

    视频流宽度的最大值,单位:px。



28309
28310
28311
# File 'lib/v20180717/models.rb', line 28309

def Definition
  @Definition
end

#HeightObject

Parameters:

  • Url:

    播放地址。

  • Definition:
  • Bitrate:

    视频流码率平均值与音频流码率平均值之和, 单位:bps。

  • Height:

    视频流高度的最大值,单位:px。

  • Width:

    视频流宽度的最大值,单位:px。



28309
28310
28311
# File 'lib/v20180717/models.rb', line 28309

def Height
  @Height
end

#UrlObject

Parameters:

  • Url:

    播放地址。

  • Definition:
  • Bitrate:

    视频流码率平均值与音频流码率平均值之和, 单位:bps。

  • Height:

    视频流高度的最大值,单位:px。

  • Width:

    视频流宽度的最大值,单位:px。



28309
28310
28311
# File 'lib/v20180717/models.rb', line 28309

def Url
  @Url
end

#WidthObject

Parameters:

  • Url:

    播放地址。

  • Definition:
  • Bitrate:

    视频流码率平均值与音频流码率平均值之和, 单位:bps。

  • Height:

    视频流高度的最大值,单位:px。

  • Width:

    视频流宽度的最大值,单位:px。



28309
28310
28311
# File 'lib/v20180717/models.rb', line 28309

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



28319
28320
28321
28322
28323
28324
28325
# File 'lib/v20180717/models.rb', line 28319

def deserialize(params)
  @Url = params['Url']
  @Definition = params['Definition']
  @Bitrate = params['Bitrate']
  @Height = params['Height']
  @Width = params['Width']
end