Class: TencentCloud::Cme::V20191029::VideoStreamInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::VideoStreamInfo
- Defined in:
- lib/v20191029/models.rb
Overview
视频流信息。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(bitrate = nil, height = nil, width = nil, codec = nil, fps = nil) ⇒ VideoStreamInfo
constructor
A new instance of VideoStreamInfo.
Constructor Details
#initialize(bitrate = nil, height = nil, width = nil, codec = nil, fps = nil) ⇒ VideoStreamInfo
Returns a new instance of VideoStreamInfo.
6696 6697 6698 6699 6700 6701 6702 |
# File 'lib/v20191029/models.rb', line 6696 def initialize(bitrate=nil, height=nil, width=nil, codec=nil, fps=nil) @Bitrate = bitrate @Height = height @Width = width @Codec = codec @Fps = fps end |
Instance Attribute Details
#Bitrate ⇒ Object
6694 6695 6696 |
# File 'lib/v20191029/models.rb', line 6694 def Bitrate @Bitrate end |
#Codec ⇒ Object
6694 6695 6696 |
# File 'lib/v20191029/models.rb', line 6694 def Codec @Codec end |
#Fps ⇒ Object
6694 6695 6696 |
# File 'lib/v20191029/models.rb', line 6694 def Fps @Fps end |
#Height ⇒ Object
6694 6695 6696 |
# File 'lib/v20191029/models.rb', line 6694 def Height @Height end |
#Width ⇒ Object
6694 6695 6696 |
# File 'lib/v20191029/models.rb', line 6694 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
6704 6705 6706 6707 6708 6709 6710 |
# File 'lib/v20191029/models.rb', line 6704 def deserialize(params) @Bitrate = params['Bitrate'] @Height = params['Height'] @Width = params['Width'] @Codec = params['Codec'] @Fps = params['Fps'] end |