Class: TencentCloud::Vod::V20180717::AudioTransform

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

Overview

音频操作

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, volumeparam = nil) ⇒ AudioTransform

Returns a new instance of AudioTransform.



4921
4922
4923
4924
# File 'lib/v20180717/models.rb', line 4921

def initialize(type=nil, volumeparam=nil)
  @Type = type
  @VolumeParam = volumeparam
end

Instance Attribute Details

#TypeObject

<li>Volume:音量调节。</li>

Parameters:

  • Type:

    音频操作类型,取值有:

  • VolumeParam:

    音量调节参数, 当 Type = Volume 时有效。



4919
4920
4921
# File 'lib/v20180717/models.rb', line 4919

def Type
  @Type
end

#VolumeParamObject

<li>Volume:音量调节。</li>

Parameters:

  • Type:

    音频操作类型,取值有:

  • VolumeParam:

    音量调节参数, 当 Type = Volume 时有效。



4919
4920
4921
# File 'lib/v20180717/models.rb', line 4919

def VolumeParam
  @VolumeParam
end

Instance Method Details

#deserialize(params) ⇒ Object



4926
4927
4928
4929
4930
4931
4932
# File 'lib/v20180717/models.rb', line 4926

def deserialize(params)
  @Type = params['Type']
  unless params['VolumeParam'].nil?
    @VolumeParam = AudioVolumeParam.new
    @VolumeParam.deserialize(params['VolumeParam'])
  end
end