Class: TencentCloud::Ams::V20201229::MediaInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ams::V20201229::MediaInfo
- Defined in:
- lib/v20201229/models.rb
Overview
媒体类型
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(codecs = nil, duration = nil, width = nil, height = nil, thumbnail = nil) ⇒ MediaInfo
constructor
A new instance of MediaInfo.
Constructor Details
#initialize(codecs = nil, duration = nil, width = nil, height = nil, thumbnail = nil) ⇒ MediaInfo
Returns a new instance of MediaInfo.
958 959 960 961 962 963 964 |
# File 'lib/v20201229/models.rb', line 958 def initialize(codecs=nil, duration=nil, width=nil, height=nil, thumbnail=nil) @Codecs = codecs @Duration = duration @Width = width @Height = height @Thumbnail = thumbnail end |
Instance Attribute Details
#Codecs ⇒ Object
956 957 958 |
# File 'lib/v20201229/models.rb', line 956 def Codecs @Codecs end |
#Duration ⇒ Object
956 957 958 |
# File 'lib/v20201229/models.rb', line 956 def Duration @Duration end |
#Height ⇒ Object
956 957 958 |
# File 'lib/v20201229/models.rb', line 956 def Height @Height end |
#Thumbnail ⇒ Object
956 957 958 |
# File 'lib/v20201229/models.rb', line 956 def Thumbnail @Thumbnail end |
#Width ⇒ Object
956 957 958 |
# File 'lib/v20201229/models.rb', line 956 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
966 967 968 969 970 971 972 |
# File 'lib/v20201229/models.rb', line 966 def deserialize(params) @Codecs = params['Codecs'] @Duration = params['Duration'] @Width = params['Width'] @Height = params['Height'] @Thumbnail = params['Thumbnail'] end |