Class: TencentCloud::Mps::V20190612::ComposeAudioOperation

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190612/models.rb

Overview

视频编辑/合成任务 音频操作。

Instance Attribute Summary collapse

  • #Volume ⇒ Object
  • Volume:音量调节。
  • 0 表示静音。
  • 小于1 表示降低音量。
  • 1 表示不变。
  • 大于1表示升高音量。
  • .

    Instance Method Summary collapse

    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

    #TypeObject

  • Volume:音量调节。
  • 0 表示静音。
  • 小于1 表示降低音量。
  • 1 表示不变。
  • 大于1表示升高音量。
  • Parameters:

    • Type:

      音频操作类型,取值有:

    • Volume:

      当 Type = Volume 时有效。音量调节参数,取值范围: 0~5。

    
    
    6428
    6429
    6430
    # File 'lib/v20190612/models.rb', line 6428
    
    def Type
      @Type
    end

    #VolumeObject

  • Volume:音量调节。
  • 0 表示静音。
  • 小于1 表示降低音量。
  • 1 表示不变。
  • 大于1表示升高音量。
  • Parameters:

    • Type:

      音频操作类型,取值有:

    • Volume:

      当 Type = Volume 时有效。音量调节参数,取值范围: 0~5。

    
    
    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