Class: TencentCloud::Mps::V20190612::AiAnalysisTaskDubbingOutput

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

Overview

智能译制结果信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#OutputStorageObject

Parameters:

  • VideoPath:

    译制视频路径。

  • SpeakerPath:

    标记文件路径

  • VoiceId:

    音色id

  • OutputStorage:

    译制视频存储位置。



1592
1593
1594
# File 'lib/v20190612/models.rb', line 1592

def OutputStorage
  @OutputStorage
end

#SpeakerPathObject

Parameters:

  • VideoPath:

    译制视频路径。

  • SpeakerPath:

    标记文件路径

  • VoiceId:

    音色id

  • OutputStorage:

    译制视频存储位置。



1592
1593
1594
# File 'lib/v20190612/models.rb', line 1592

def SpeakerPath
  @SpeakerPath
end

#VideoPathObject

Parameters:

  • VideoPath:

    译制视频路径。

  • SpeakerPath:

    标记文件路径

  • VoiceId:

    音色id

  • OutputStorage:

    译制视频存储位置。



1592
1593
1594
# File 'lib/v20190612/models.rb', line 1592

def VideoPath
  @VideoPath
end

#VoiceIdObject

Parameters:

  • VideoPath:

    译制视频路径。

  • SpeakerPath:

    标记文件路径

  • VoiceId:

    音色id

  • OutputStorage:

    译制视频存储位置。



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