Class: TencentCloud::Mps::V20190612::AsrFullTextConfigureInfoForUpdate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AsrFullTextConfigureInfoForUpdate
- 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) ⇒ AsrFullTextConfigureInfoForUpdate
constructor
A new instance of AsrFullTextConfigureInfoForUpdate.
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
#SourceLanguage ⇒ Object
5268 5269 5270 |
# File 'lib/v20190612/models.rb', line 5268 def SourceLanguage @SourceLanguage end |
#SubtitleFormat ⇒ Object
5268 5269 5270 |
# File 'lib/v20190612/models.rb', line 5268 def SubtitleFormat @SubtitleFormat end |
#Switch ⇒ Object
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 |