Class: TencentCloud::Mps::V20190612::AsrFullTextConfigureInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AsrFullTextConfigureInfo
- Defined in:
- lib/v20190612/models.rb
Overview
语音全文识别任务控制参数
Instance Attribute Summary collapse
-
#SourceLanguage ⇒ Object
- ON:开启智能语音全文识别任务;
- OFF:关闭智能语音全文识别任务。
- vtt:生成 WebVTT 字幕文件。
. -
#SubtitleFormat ⇒ Object
- ON:开启智能语音全文识别任务;
- OFF:关闭智能语音全文识别任务。
- vtt:生成 WebVTT 字幕文件。
. -
#Switch ⇒ Object
- ON:开启智能语音全文识别任务;
- OFF:关闭智能语音全文识别任务。
- vtt:生成 WebVTT 字幕文件。
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, subtitleformat = nil, sourcelanguage = nil) ⇒ AsrFullTextConfigureInfo
constructor
A new instance of AsrFullTextConfigureInfo.
Constructor Details
#initialize(switch = nil, subtitleformat = nil, sourcelanguage = nil) ⇒ AsrFullTextConfigureInfo
Returns a new instance of AsrFullTextConfigureInfo.
5243 5244 5245 5246 5247 |
# File 'lib/v20190612/models.rb', line 5243 def initialize(switch=nil, subtitleformat=nil, sourcelanguage=nil) @Switch = switch @SubtitleFormat = subtitleformat @SourceLanguage = sourcelanguage end |
Instance Attribute Details
#SourceLanguage ⇒ Object
5241 5242 5243 |
# File 'lib/v20190612/models.rb', line 5241 def SourceLanguage @SourceLanguage end |
#SubtitleFormat ⇒ Object
5241 5242 5243 |
# File 'lib/v20190612/models.rb', line 5241 def SubtitleFormat @SubtitleFormat end |
#Switch ⇒ Object
5241 5242 5243 |
# File 'lib/v20190612/models.rb', line 5241 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
5249 5250 5251 5252 5253 |
# File 'lib/v20190612/models.rb', line 5249 def deserialize(params) @Switch = params['Switch'] @SubtitleFormat = params['SubtitleFormat'] @SourceLanguage = params['SourceLanguage'] end |