Class: TencentCloud::Vm::V20210922::MediaInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vm::V20210922::MediaInfo
- Defined in:
- lib/v20210922/models.rb
Overview
媒体类型
Instance Attribute Summary collapse
-
#Codecs ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。.
-
#Duration ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。.
-
#Height ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。.
-
#Thumbnail ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。.
-
#Width ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。.
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.
1049 1050 1051 1052 1053 1054 1055 |
# File 'lib/v20210922/models.rb', line 1049 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
注意:此字段可能返回 0,表示取不到有效值。
1047 1048 1049 |
# File 'lib/v20210922/models.rb', line 1047 def Codecs @Codecs end |
#Duration ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。
1047 1048 1049 |
# File 'lib/v20210922/models.rb', line 1047 def Duration @Duration end |
#Height ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。
1047 1048 1049 |
# File 'lib/v20210922/models.rb', line 1047 def Height @Height end |
#Thumbnail ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。
1047 1048 1049 |
# File 'lib/v20210922/models.rb', line 1047 def Thumbnail @Thumbnail end |
#Width ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。
1047 1048 1049 |
# File 'lib/v20210922/models.rb', line 1047 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
1057 1058 1059 1060 1061 1062 1063 |
# File 'lib/v20210922/models.rb', line 1057 def deserialize(params) @Codecs = params['Codecs'] @Duration = params['Duration'] @Width = params['Width'] @Height = params['Height'] @Thumbnail = params['Thumbnail'] end |