Class: TencentCloud::Vm::V20200709::MediaInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vm::V20200709::MediaInfo
- Defined in:
- lib/v20200709/models.rb
Overview
媒体类型
Instance Attribute Summary collapse
-
#Codecs ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。.
-
#Duration ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。.
-
#Height ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。.
-
#Width ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(codecs = nil, duration = nil, width = nil, height = nil) ⇒ MediaInfo
constructor
A new instance of MediaInfo.
Constructor Details
#initialize(codecs = nil, duration = nil, width = nil, height = nil) ⇒ MediaInfo
Returns a new instance of MediaInfo.
1057 1058 1059 1060 1061 1062 |
# File 'lib/v20200709/models.rb', line 1057 def initialize(codecs=nil, duration=nil, width=nil, height=nil) @Codecs = codecs @Duration = duration @Width = width @Height = height end |
Instance Attribute Details
#Codecs ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。
1055 1056 1057 |
# File 'lib/v20200709/models.rb', line 1055 def Codecs @Codecs end |
#Duration ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。
1055 1056 1057 |
# File 'lib/v20200709/models.rb', line 1055 def Duration @Duration end |
#Height ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。
1055 1056 1057 |
# File 'lib/v20200709/models.rb', line 1055 def Height @Height end |
#Width ⇒ Object
注意:此字段可能返回 0,表示取不到有效值。
1055 1056 1057 |
# File 'lib/v20200709/models.rb', line 1055 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
1064 1065 1066 1067 1068 1069 |
# File 'lib/v20200709/models.rb', line 1064 def deserialize(params) @Codecs = params['Codecs'] @Duration = params['Duration'] @Width = params['Width'] @Height = params['Height'] end |