Class: TencentCloud::Mps::V20190612::AsrFullTextConfigureInfoForUpdate

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

Overview

语音全文识别任务控制参数

Instance Attribute Summary collapse

  • #SubtitleFormat ⇒ Object
  • ON:开启智能语音全文识别任务;
  • OFF:关闭智能语音全文识别任务。
  • vtt:生成 WebVTT 字幕文件。
  • .
  • #Switch ⇒ Object
  • ON:开启智能语音全文识别任务;
  • OFF:关闭智能语音全文识别任务。
  • vtt:生成 WebVTT 字幕文件。
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(switch = nil, subtitleformat = nil, sourcelanguage = nil) ⇒ AsrFullTextConfigureInfoForUpdate

    Returns a new instance of AsrFullTextConfigureInfoForUpdate.

    
    
    5270
    5271
    5272
    5273
    5274
    # File 'lib/v20190612/models.rb', line 5270
    
    def initialize(switch=nil, subtitleformat=nil, sourcelanguage=nil)
      @Switch = switch
      @SubtitleFormat = subtitleformat
      @SourceLanguage = sourcelanguage
    end
    

    Instance Attribute Details

    #SourceLanguageObject

  • ON:开启智能语音全文识别任务;
  • OFF:关闭智能语音全文识别任务。
  • vtt:生成 WebVTT 字幕文件。
  • Parameters:

    • 语音全文识别任务开关,可选值:

    • 生成的字幕文件格式,填空字符串表示不生成字幕文件,可选值:

    • 视频源语言。

    
    
    5268
    5269
    5270
    # File 'lib/v20190612/models.rb', line 5268
    
    def SourceLanguage
      @SourceLanguage
    end
    

    #SubtitleFormatObject

  • ON:开启智能语音全文识别任务;
  • OFF:关闭智能语音全文识别任务。
  • vtt:生成 WebVTT 字幕文件。
  • Parameters:

    • 语音全文识别任务开关,可选值:

    • 生成的字幕文件格式,填空字符串表示不生成字幕文件,可选值:

    • 视频源语言。

    
    
    5268
    5269
    5270
    # File 'lib/v20190612/models.rb', line 5268
    
    def SubtitleFormat
      @SubtitleFormat
    end
    

    #SwitchObject

  • ON:开启智能语音全文识别任务;
  • OFF:关闭智能语音全文识别任务。
  • vtt:生成 WebVTT 字幕文件。
  • Parameters:

    • 语音全文识别任务开关,可选值:

    • 生成的字幕文件格式,填空字符串表示不生成字幕文件,可选值:

    • 视频源语言。

    
    
    5268
    5269
    5270
    # File 'lib/v20190612/models.rb', line 5268
    
    def Switch
      @Switch
    end
    

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    5276
    5277
    5278
    5279
    5280
    # File 'lib/v20190612/models.rb', line 5276
    
    def deserialize(params)
      @Switch = params['Switch']
      @SubtitleFormat = params['SubtitleFormat']
      @SourceLanguage = params['SourceLanguage']
    end