Class: TencentCloud::Mps::V20190612::ComposeAudioOperation
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::ComposeAudioOperation
- Defined in:
- lib/v20190612/models.rb
Overview
视频编辑/合成任务 音频操作。
Instance Attribute Summary collapse
-
#Type ⇒ Object
- Volume:音量调节。
- 0 表示静音。
- 小于1 表示降低音量。
- 1 表示不变。
- 大于1表示升高音量。
. -
#Volume ⇒ Object
- Volume:音量调节。
- 0 表示静音。
- 小于1 表示降低音量。
- 1 表示不变。
- 大于1表示升高音量。
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, volume = nil) ⇒ ComposeAudioOperation
constructor
A new instance of ComposeAudioOperation.
Constructor Details
#initialize(type = nil, volume = nil) ⇒ ComposeAudioOperation
Returns a new instance of ComposeAudioOperation.
6430 6431 6432 6433 |
# File 'lib/v20190612/models.rb', line 6430 def initialize(type=nil, volume=nil) @Type = type @Volume = volume end |
Instance Attribute Details
#Type ⇒ Object
6428 6429 6430 |
# File 'lib/v20190612/models.rb', line 6428 def Type @Type end |
#Volume ⇒ Object
6428 6429 6430 |
# File 'lib/v20190612/models.rb', line 6428 def Volume @Volume end |
Instance Method Details
#deserialize(params) ⇒ Object
6435 6436 6437 6438 |
# File 'lib/v20190612/models.rb', line 6435 def deserialize(params) @Type = params['Type'] @Volume = params['Volume'] end |