Class: TencentCloud::Vod::V20180717::TranscodePlayInfo2017
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::TranscodePlayInfo2017
- Defined in:
- lib/v20180717/models.rb
Overview
视频转码播放信息(2017 版)
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(url = nil, definition = nil, bitrate = nil, height = nil, width = nil) ⇒ TranscodePlayInfo2017
constructor
A new instance of TranscodePlayInfo2017.
Constructor Details
#initialize(url = nil, definition = nil, bitrate = nil, height = nil, width = nil) ⇒ 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
#Bitrate ⇒ Object
28309 28310 28311 |
# File 'lib/v20180717/models.rb', line 28309 def Bitrate @Bitrate end |
#Definition ⇒ Object
28309 28310 28311 |
# File 'lib/v20180717/models.rb', line 28309 def Definition @Definition end |
#Height ⇒ Object
28309 28310 28311 |
# File 'lib/v20180717/models.rb', line 28309 def Height @Height end |
#Url ⇒ Object
28309 28310 28311 |
# File 'lib/v20180717/models.rb', line 28309 def Url @Url end |
#Width ⇒ Object
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 |