Class: TencentCloud::Mps::V20190612::AiAnalysisTaskReelOutput

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

Overview

AI解说二创结果信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(videopath = nil, videopaths = nil, scriptpath = nil, outputstorage = nil) ⇒ AiAnalysisTaskReelOutput

Returns a new instance of AiAnalysisTaskReelOutput.



2045
2046
2047
2048
2049
2050
# File 'lib/v20190612/models.rb', line 2045

def initialize(videopath=nil, videopaths=nil, scriptpath=nil, outputstorage=nil)
  @VideoPath = videopath
  @VideoPaths = videopaths
  @ScriptPath = scriptpath
  @OutputStorage = outputstorage
end

Instance Attribute Details

#OutputStorageObject

注意

  1. 当返回一个文件时,VideoPath 返回一个文件路径,VideoPaths 也会填充同样路径的一个元素。
  2. 当返回多个文件时,VideoPath 返回为空字符串,VideoPaths 返回多文件路径列表。

Parameters:

  • ScriptPath:

    脚本文件路径

  • OutputStorage:

    解说视频存储位置。



2043
2044
2045
# File 'lib/v20190612/models.rb', line 2043

def OutputStorage
  @OutputStorage
end

#ScriptPathObject

注意

  1. 当返回一个文件时,VideoPath 返回一个文件路径,VideoPaths 也会填充同样路径的一个元素。
  2. 当返回多个文件时,VideoPath 返回为空字符串,VideoPaths 返回多文件路径列表。

Parameters:

  • ScriptPath:

    脚本文件路径

  • OutputStorage:

    解说视频存储位置。



2043
2044
2045
# File 'lib/v20190612/models.rb', line 2043

def ScriptPath
  @ScriptPath
end

#VideoPathObject

注意

  1. 当返回一个文件时,VideoPath 返回一个文件路径,VideoPaths 也会填充同样路径的一个元素。
  2. 当返回多个文件时,VideoPath 返回为空字符串,VideoPaths 返回多文件路径列表。

Parameters:

  • ScriptPath:

    脚本文件路径

  • OutputStorage:

    解说视频存储位置。



2043
2044
2045
# File 'lib/v20190612/models.rb', line 2043

def VideoPath
  @VideoPath
end

#VideoPathsObject

注意

  1. 当返回一个文件时,VideoPath 返回一个文件路径,VideoPaths 也会填充同样路径的一个元素。
  2. 当返回多个文件时,VideoPath 返回为空字符串,VideoPaths 返回多文件路径列表。

Parameters:

  • ScriptPath:

    脚本文件路径

  • OutputStorage:

    解说视频存储位置。



2043
2044
2045
# File 'lib/v20190612/models.rb', line 2043

def VideoPaths
  @VideoPaths
end

Instance Method Details

#deserialize(params) ⇒ Object



2052
2053
2054
2055
2056
2057
2058
2059
2060
# File 'lib/v20190612/models.rb', line 2052

def deserialize(params)
  @VideoPath = params['VideoPath']
  @VideoPaths = params['VideoPaths']
  @ScriptPath = params['ScriptPath']
  unless params['OutputStorage'].nil?
    @OutputStorage = TaskOutputStorage.new
    @OutputStorage.deserialize(params['OutputStorage'])
  end
end