Class: TencentCloud::Cme::V20191029::MediaCastVideoSetting
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::MediaCastVideoSetting
- Defined in:
- lib/v20191029/models.rb
Overview
点播转直播视频配置
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(width = nil, height = nil, bitrate = nil, framerate = nil) ⇒ MediaCastVideoSetting
constructor
A new instance of MediaCastVideoSetting.
Constructor Details
#initialize(width = nil, height = nil, bitrate = nil, framerate = nil) ⇒ MediaCastVideoSetting
Returns a new instance of MediaCastVideoSetting.
4229 4230 4231 4232 4233 4234 |
# File 'lib/v20191029/models.rb', line 4229 def initialize(width=nil, height=nil, bitrate=nil, framerate=nil) @Width = width @Height = height @Bitrate = bitrate @FrameRate = framerate end |
Instance Attribute Details
#Bitrate ⇒ Object
4227 4228 4229 |
# File 'lib/v20191029/models.rb', line 4227 def Bitrate @Bitrate end |
#FrameRate ⇒ Object
4227 4228 4229 |
# File 'lib/v20191029/models.rb', line 4227 def FrameRate @FrameRate end |
#Height ⇒ Object
4227 4228 4229 |
# File 'lib/v20191029/models.rb', line 4227 def Height @Height end |
#Width ⇒ Object
4227 4228 4229 |
# File 'lib/v20191029/models.rb', line 4227 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
4236 4237 4238 4239 4240 4241 |
# File 'lib/v20191029/models.rb', line 4236 def deserialize(params) @Width = params['Width'] @Height = params['Height'] @Bitrate = params['Bitrate'] @FrameRate = params['FrameRate'] end |