Class: TencentCloud::Vod::V20180717::VideoConfigureInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::VideoConfigureInfo
- Defined in:
- lib/v20180717/models.rb
Overview
即时转码视频模板配置。
Instance Attribute Summary collapse
-
#Bitrate ⇒ Object
默认值:open。 当取值为 0,表示由云点播自动设置码率。.
-
#Height ⇒ Object
默认值:open。 当取值为 0,表示由云点播自动设置码率。.
-
#ResolutionAdaptive ⇒ Object
默认值:open。 当取值为 0,表示由云点播自动设置码率。.
-
#Width ⇒ Object
默认值:open。 当取值为 0,表示由云点播自动设置码率。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(width = nil, height = nil, resolutionadaptive = nil, bitrate = nil) ⇒ VideoConfigureInfo
constructor
A new instance of VideoConfigureInfo.
Constructor Details
#initialize(width = nil, height = nil, resolutionadaptive = nil, bitrate = nil) ⇒ VideoConfigureInfo
Returns a new instance of VideoConfigureInfo.
29047 29048 29049 29050 29051 29052 |
# File 'lib/v20180717/models.rb', line 29047 def initialize(width=nil, height=nil, resolutionadaptive=nil, bitrate=nil) @Width = width @Height = height @ResolutionAdaptive = resolutionadaptive @Bitrate = bitrate end |
Instance Attribute Details
#Bitrate ⇒ Object
默认值:open。当取值为 0,表示由云点播自动设置码率。
29045 29046 29047 |
# File 'lib/v20180717/models.rb', line 29045 def Bitrate @Bitrate end |
#Height ⇒ Object
默认值:open。当取值为 0,表示由云点播自动设置码率。
29045 29046 29047 |
# File 'lib/v20180717/models.rb', line 29045 def Height @Height end |
#ResolutionAdaptive ⇒ Object
默认值:open。当取值为 0,表示由云点播自动设置码率。
29045 29046 29047 |
# File 'lib/v20180717/models.rb', line 29045 def ResolutionAdaptive @ResolutionAdaptive end |
#Width ⇒ Object
默认值:open。当取值为 0,表示由云点播自动设置码率。
29045 29046 29047 |
# File 'lib/v20180717/models.rb', line 29045 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
29054 29055 29056 29057 29058 29059 |
# File 'lib/v20180717/models.rb', line 29054 def deserialize(params) @Width = params['Width'] @Height = params['Height'] @ResolutionAdaptive = params['ResolutionAdaptive'] @Bitrate = params['Bitrate'] end |