Class: TencentCloud::Mps::V20190612::AigcVideoExtraParam
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AigcVideoExtraParam
- Defined in:
- lib/v20190612/models.rb
Overview
用于AIGC创作视频时用到的扩展参数信息。
Instance Attribute Summary collapse
-
#AspectRatio ⇒ Object
支持此参数的模型: 1.
-
#EnableAudio ⇒ Object
支持此参数的模型: 1.
-
#LogoAdd ⇒ Object
支持此参数的模型: 1.
-
#OffPeak ⇒ Object
支持此参数的模型: 1.
-
#Resolution ⇒ Object
支持此参数的模型: 1.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resolution = nil, aspectratio = nil, logoadd = nil, enableaudio = nil, offpeak = nil) ⇒ AigcVideoExtraParam
constructor
A new instance of AigcVideoExtraParam.
Constructor Details
#initialize(resolution = nil, aspectratio = nil, logoadd = nil, enableaudio = nil, offpeak = nil) ⇒ AigcVideoExtraParam
Returns a new instance of AigcVideoExtraParam.
5045 5046 5047 5048 5049 5050 5051 |
# File 'lib/v20190612/models.rb', line 5045 def initialize(resolution=nil, aspectratio=nil, logoadd=nil, enableaudio=nil, offpeak=nil) @Resolution = resolution @AspectRatio = aspectratio @LogoAdd = logoadd @EnableAudio = enableaudio @OffPeak = offpeak end |
Instance Attribute Details
#AspectRatio ⇒ Object
支持此参数的模型:
- GV,默认true。
- OS,默认true。 错峰模式下提交的任务,会在48小时内生成,未能完成的任务会被自动取消。
5043 5044 5045 |
# File 'lib/v20190612/models.rb', line 5043 def AspectRatio @AspectRatio end |
#EnableAudio ⇒ Object
支持此参数的模型:
- GV,默认true。
- OS,默认true。 错峰模式下提交的任务,会在48小时内生成,未能完成的任务会被自动取消。
5043 5044 5045 |
# File 'lib/v20190612/models.rb', line 5043 def EnableAudio @EnableAudio end |
#LogoAdd ⇒ Object
支持此参数的模型:
- GV,默认true。
- OS,默认true。 错峰模式下提交的任务,会在48小时内生成,未能完成的任务会被自动取消。
5043 5044 5045 |
# File 'lib/v20190612/models.rb', line 5043 def LogoAdd @LogoAdd end |
#OffPeak ⇒ Object
支持此参数的模型:
- GV,默认true。
- OS,默认true。 错峰模式下提交的任务,会在48小时内生成,未能完成的任务会被自动取消。
5043 5044 5045 |
# File 'lib/v20190612/models.rb', line 5043 def OffPeak @OffPeak end |
#Resolution ⇒ Object
支持此参数的模型:
- GV,默认true。
- OS,默认true。 错峰模式下提交的任务,会在48小时内生成,未能完成的任务会被自动取消。
5043 5044 5045 |
# File 'lib/v20190612/models.rb', line 5043 def Resolution @Resolution end |
Instance Method Details
#deserialize(params) ⇒ Object
5053 5054 5055 5056 5057 5058 5059 |
# File 'lib/v20190612/models.rb', line 5053 def deserialize(params) @Resolution = params['Resolution'] @AspectRatio = params['AspectRatio'] @LogoAdd = params['LogoAdd'] @EnableAudio = params['EnableAudio'] @OffPeak = params['OffPeak'] end |