Class: TencentCloud::Bda::V20200324::VideoBasicInformation
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bda::V20200324::VideoBasicInformation
- Defined in:
- lib/v20200324/models.rb
Overview
视频基础信息
Instance Attribute Summary collapse
- #Duration ⇒ Object
- #FrameHeight ⇒ Object
- #FramesPerSecond ⇒ Object
- #FrameWidth ⇒ Object
- #TotalFrames ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(framewidth = nil, frameheight = nil, framespersecond = nil, duration = nil, totalframes = nil) ⇒ VideoBasicInformation
constructor
A new instance of VideoBasicInformation.
Constructor Details
#initialize(framewidth = nil, frameheight = nil, framespersecond = nil, duration = nil, totalframes = nil) ⇒ VideoBasicInformation
Returns a new instance of VideoBasicInformation.
1807 1808 1809 1810 1811 1812 1813 |
# File 'lib/v20200324/models.rb', line 1807 def initialize(framewidth=nil, frameheight=nil, framespersecond=nil, duration=nil, totalframes=nil) @FrameWidth = framewidth @FrameHeight = frameheight @FramesPerSecond = framespersecond @Duration = duration @TotalFrames = totalframes end |
Instance Attribute Details
#Duration ⇒ Object
1805 1806 1807 |
# File 'lib/v20200324/models.rb', line 1805 def Duration @Duration end |
#FrameHeight ⇒ Object
1805 1806 1807 |
# File 'lib/v20200324/models.rb', line 1805 def FrameHeight @FrameHeight end |
#FramesPerSecond ⇒ Object
1805 1806 1807 |
# File 'lib/v20200324/models.rb', line 1805 def FramesPerSecond @FramesPerSecond end |
#FrameWidth ⇒ Object
1805 1806 1807 |
# File 'lib/v20200324/models.rb', line 1805 def FrameWidth @FrameWidth end |
#TotalFrames ⇒ Object
1805 1806 1807 |
# File 'lib/v20200324/models.rb', line 1805 def TotalFrames @TotalFrames end |
Instance Method Details
#deserialize(params) ⇒ Object
1815 1816 1817 1818 1819 1820 1821 |
# File 'lib/v20200324/models.rb', line 1815 def deserialize(params) @FrameWidth = params['FrameWidth'] @FrameHeight = params['FrameHeight'] @FramesPerSecond = params['FramesPerSecond'] @Duration = params['Duration'] @TotalFrames = params['TotalFrames'] end |