Class: TencentCloud::Vclm::V20240523::SubmitVideoVoiceJobRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vclm::V20240523::SubmitVideoVoiceJobRequest
- Defined in:
- lib/v20240523/models.rb
Overview
SubmitVideoVoiceJob请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(videourl = nil, prompt = nil, negativeprompt = nil, logoadd = nil, logoparam = nil) ⇒ SubmitVideoVoiceJobRequest
constructor
A new instance of SubmitVideoVoiceJobRequest.
Constructor Details
#initialize(videourl = nil, prompt = nil, negativeprompt = nil, logoadd = nil, logoparam = nil) ⇒ SubmitVideoVoiceJobRequest
Returns a new instance of SubmitVideoVoiceJobRequest.
1512 1513 1514 1515 1516 1517 1518 |
# File 'lib/v20240523/models.rb', line 1512 def initialize(videourl=nil, prompt=nil, negativeprompt=nil, logoadd=nil, logoparam=nil) @VideoUrl = videourl @Prompt = prompt @NegativePrompt = negativeprompt @LogoAdd = logoadd @LogoParam = logoparam end |
Instance Attribute Details
#LogoAdd ⇒ Object
1510 1511 1512 |
# File 'lib/v20240523/models.rb', line 1510 def LogoAdd @LogoAdd end |
#LogoParam ⇒ Object
1510 1511 1512 |
# File 'lib/v20240523/models.rb', line 1510 def LogoParam @LogoParam end |
#NegativePrompt ⇒ Object
1510 1511 1512 |
# File 'lib/v20240523/models.rb', line 1510 def NegativePrompt @NegativePrompt end |
#Prompt ⇒ Object
1510 1511 1512 |
# File 'lib/v20240523/models.rb', line 1510 def Prompt @Prompt end |
#VideoUrl ⇒ Object
1510 1511 1512 |
# File 'lib/v20240523/models.rb', line 1510 def VideoUrl @VideoUrl end |
Instance Method Details
#deserialize(params) ⇒ Object
1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 |
# File 'lib/v20240523/models.rb', line 1520 def deserialize(params) @VideoUrl = params['VideoUrl'] @Prompt = params['Prompt'] @NegativePrompt = params['NegativePrompt'] @LogoAdd = params['LogoAdd'] unless params['LogoParam'].nil? @LogoParam = LogoParam.new @LogoParam.deserialize(params['LogoParam']) end end |