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
966 967 968 969 970 971 972 |
# File 'lib/v20201229/models.rb', line 966 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
964 965 966 |
# File 'lib/v20201229/models.rb', line 964 def Codecs @Codecs end |
#Duration ⇒ Object
964 965 966 |
# File 'lib/v20201229/models.rb', line 964 def Duration @Duration end |
#Height ⇒ Object
964 965 966 |
# File 'lib/v20201229/models.rb', line 964 def Height @Height end |
#Thumbnail ⇒ Object
964 965 966 |
# File 'lib/v20201229/models.rb', line 964 def Thumbnail @Thumbnail end |
#Width ⇒ Object
964 965 966 |
# File 'lib/v20201229/models.rb', line 964 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
974 975 976 977 978 979 980 |
# File 'lib/v20201229/models.rb', line 974 def deserialize(params) @Codecs = params['Codecs'] @Duration = params['Duration'] @Width = params['Width'] @Height = params['Height'] @Thumbnail = params['Thumbnail'] end |