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
Returns a new instance of TranscodePlayInfo2017.
28309 28310 28311 28312 28313 28314 28315 |
# File 'lib/v20180717/models.rb', line 28309 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
28307 28308 28309 |
# File 'lib/v20180717/models.rb', line 28307 def Bitrate @Bitrate end |
#Definition ⇒ Object
28307 28308 28309 |
# File 'lib/v20180717/models.rb', line 28307 def Definition @Definition end |
#Height ⇒ Object
28307 28308 28309 |
# File 'lib/v20180717/models.rb', line 28307 def Height @Height end |
#Url ⇒ Object
28307 28308 28309 |
# File 'lib/v20180717/models.rb', line 28307 def Url @Url end |
#Width ⇒ Object
28307 28308 28309 |
# File 'lib/v20180717/models.rb', line 28307 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
28317 28318 28319 28320 28321 28322 28323 |
# File 'lib/v20180717/models.rb', line 28317 def deserialize(params) @Url = params['Url'] @Definition = params['Definition'] @Bitrate = params['Bitrate'] @Height = params['Height'] @Width = params['Width'] end |