Class: TencentCloud::Mps::V20190612::SubtitleResult

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

Overview

智能字幕结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(language = nil, status = nil, path = nil) ⇒ SubtitleResult

Returns a new instance of SubtitleResult.



29357
29358
29359
29360
29361
# File 'lib/v20190612/models.rb', line 29357

def initialize(language=nil, status=nil, path=nil)
  @Language = language
  @Status = status
  @Path = path
end

Instance Attribute Details

#LanguageObject

Parameters:

  • Language:

    字幕文件语言

  • Status:

    处理是否成功

  • Path:

    字幕文件地址



29355
29356
29357
# File 'lib/v20190612/models.rb', line 29355

def Language
  @Language
end

#PathObject

Parameters:

  • Language:

    字幕文件语言

  • Status:

    处理是否成功

  • Path:

    字幕文件地址



29355
29356
29357
# File 'lib/v20190612/models.rb', line 29355

def Path
  @Path
end

#StatusObject

Parameters:

  • Language:

    字幕文件语言

  • Status:

    处理是否成功

  • Path:

    字幕文件地址



29355
29356
29357
# File 'lib/v20190612/models.rb', line 29355

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



29363
29364
29365
29366
29367
# File 'lib/v20190612/models.rb', line 29363

def deserialize(params)
  @Language = params['Language']
  @Status = params['Status']
  @Path = params['Path']
end