Class: TencentCloud::Vod::V20180717::AudioTransform
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::AudioTransform
- Defined in:
- lib/v20180717/models.rb
Overview
音频操作
Instance Attribute Summary collapse
-
#Type ⇒ Object
<li>Volume:音量调节。</li>.
-
#VolumeParam ⇒ Object
<li>Volume:音量调节。</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, volumeparam = nil) ⇒ AudioTransform
constructor
A new instance of AudioTransform.
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
#Type ⇒ Object
<li>Volume:音量调节。</li>
4919 4920 4921 |
# File 'lib/v20180717/models.rb', line 4919 def Type @Type end |
#VolumeParam ⇒ Object
<li>Volume:音量调节。</li>
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 |