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.
29933 29934 29935 29936 29937 29938 |
# File 'lib/v20180717/models.rb', line 29933 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,表示由云点播自动设置码率。
29931 29932 29933 |
# File 'lib/v20180717/models.rb', line 29931 def Bitrate @Bitrate end |
#Height ⇒ Object
默认值:open。当取值为 0,表示由云点播自动设置码率。
29931 29932 29933 |
# File 'lib/v20180717/models.rb', line 29931 def Height @Height end |
#ResolutionAdaptive ⇒ Object
默认值:open。当取值为 0,表示由云点播自动设置码率。
29931 29932 29933 |
# File 'lib/v20180717/models.rb', line 29931 def ResolutionAdaptive @ResolutionAdaptive end |
#Width ⇒ Object
默认值:open。当取值为 0,表示由云点播自动设置码率。
29931 29932 29933 |
# File 'lib/v20180717/models.rb', line 29931 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
29940 29941 29942 29943 29944 29945 |
# File 'lib/v20180717/models.rb', line 29940 def deserialize(params) @Width = params['Width'] @Height = params['Height'] @ResolutionAdaptive = params['ResolutionAdaptive'] @Bitrate = params['Bitrate'] end |