Class: TencentCloud::Mps::V20190612::AiAnalysisTaskDubbingOutput
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AiAnalysisTaskDubbingOutput
- Defined in:
- lib/v20190612/models.rb
Overview
智能译制结果信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(videopath = nil, speakerpath = nil, voiceid = nil, outputstorage = nil) ⇒ AiAnalysisTaskDubbingOutput
constructor
A new instance of AiAnalysisTaskDubbingOutput.
Constructor Details
#initialize(videopath = nil, speakerpath = nil, voiceid = nil, outputstorage = nil) ⇒ AiAnalysisTaskDubbingOutput
Returns a new instance of AiAnalysisTaskDubbingOutput.
1594 1595 1596 1597 1598 1599 |
# File 'lib/v20190612/models.rb', line 1594 def initialize(videopath=nil, speakerpath=nil, voiceid=nil, outputstorage=nil) @VideoPath = videopath @SpeakerPath = speakerpath @VoiceId = voiceid @OutputStorage = outputstorage end |
Instance Attribute Details
#OutputStorage ⇒ Object
1592 1593 1594 |
# File 'lib/v20190612/models.rb', line 1592 def OutputStorage @OutputStorage end |
#SpeakerPath ⇒ Object
1592 1593 1594 |
# File 'lib/v20190612/models.rb', line 1592 def SpeakerPath @SpeakerPath end |
#VideoPath ⇒ Object
1592 1593 1594 |
# File 'lib/v20190612/models.rb', line 1592 def VideoPath @VideoPath end |
#VoiceId ⇒ Object
1592 1593 1594 |
# File 'lib/v20190612/models.rb', line 1592 def VoiceId @VoiceId end |
Instance Method Details
#deserialize(params) ⇒ Object
1601 1602 1603 1604 1605 1606 1607 1608 1609 |
# File 'lib/v20190612/models.rb', line 1601 def deserialize(params) @VideoPath = params['VideoPath'] @SpeakerPath = params['SpeakerPath'] @VoiceId = params['VoiceId'] unless params['OutputStorage'].nil? @OutputStorage = TaskOutputStorage.new @OutputStorage.deserialize(params['OutputStorage']) end end |