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.
1068 1069 1070 1071 1072 1073 1074 |
# File 'lib/v20210922/models.rb', line 1068 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,表示取不到有效值。
1066 1067 1068 |
# File 'lib/v20210922/models.rb', line 1066 def Codecs @Codecs end |
#Duration ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。
1066 1067 1068 |
# File 'lib/v20210922/models.rb', line 1066 def Duration @Duration end |
#Height ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。
1066 1067 1068 |
# File 'lib/v20210922/models.rb', line 1066 def Height @Height end |
#Thumbnail ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。
1066 1067 1068 |
# File 'lib/v20210922/models.rb', line 1066 def Thumbnail @Thumbnail end |
#Width ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。
1066 1067 1068 |
# File 'lib/v20210922/models.rb', line 1066 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
1076 1077 1078 1079 1080 1081 1082 |
# File 'lib/v20210922/models.rb', line 1076 def deserialize(params) @Codecs = params['Codecs'] @Duration = params['Duration'] @Width = params['Width'] @Height = params['Height'] @Thumbnail = params['Thumbnail'] end |