Class: TencentCloud::Mps::V20190612::TranslateConfigureInfoForUpdate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::TranslateConfigureInfoForUpdate
- Defined in:
- lib/v20190612/models.rb
Overview
语音翻译任务控制参数
Instance Attribute Summary collapse
-
#DestinationLanguage ⇒ Object
<li>ON:开启智能语音翻译任务;</li> <li>OFF:关闭智能语音翻译任务。</li> <li>vtt:生成 WebVTT 字幕文件。</li>.
-
#SourceLanguage ⇒ Object
<li>ON:开启智能语音翻译任务;</li> <li>OFF:关闭智能语音翻译任务。</li> <li>vtt:生成 WebVTT 字幕文件。</li>.
-
#SubtitleFormat ⇒ Object
<li>ON:开启智能语音翻译任务;</li> <li>OFF:关闭智能语音翻译任务。</li> <li>vtt:生成 WebVTT 字幕文件。</li>.
-
#Switch ⇒ Object
<li>ON:开启智能语音翻译任务;</li> <li>OFF:关闭智能语音翻译任务。</li> <li>vtt:生成 WebVTT 字幕文件。</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, sourcelanguage = nil, destinationlanguage = nil, subtitleformat = nil) ⇒ TranslateConfigureInfoForUpdate
constructor
A new instance of TranslateConfigureInfoForUpdate.
Constructor Details
#initialize(switch = nil, sourcelanguage = nil, destinationlanguage = nil, subtitleformat = nil) ⇒ TranslateConfigureInfoForUpdate
Returns a new instance of TranslateConfigureInfoForUpdate.
30750 30751 30752 30753 30754 30755 |
# File 'lib/v20190612/models.rb', line 30750 def initialize(switch=nil, sourcelanguage=nil, destinationlanguage=nil, subtitleformat=nil) @Switch = switch @SourceLanguage = sourcelanguage @DestinationLanguage = destinationlanguage @SubtitleFormat = subtitleformat end |
Instance Attribute Details
#DestinationLanguage ⇒ Object
<li>ON:开启智能语音翻译任务;</li> <li>OFF:关闭智能语音翻译任务。</li> <li>vtt:生成 WebVTT 字幕文件。</li>
30748 30749 30750 |
# File 'lib/v20190612/models.rb', line 30748 def DestinationLanguage @DestinationLanguage end |
#SourceLanguage ⇒ Object
<li>ON:开启智能语音翻译任务;</li> <li>OFF:关闭智能语音翻译任务。</li> <li>vtt:生成 WebVTT 字幕文件。</li>
30748 30749 30750 |
# File 'lib/v20190612/models.rb', line 30748 def SourceLanguage @SourceLanguage end |
#SubtitleFormat ⇒ Object
<li>ON:开启智能语音翻译任务;</li> <li>OFF:关闭智能语音翻译任务。</li> <li>vtt:生成 WebVTT 字幕文件。</li>
30748 30749 30750 |
# File 'lib/v20190612/models.rb', line 30748 def SubtitleFormat @SubtitleFormat end |
#Switch ⇒ Object
<li>ON:开启智能语音翻译任务;</li> <li>OFF:关闭智能语音翻译任务。</li> <li>vtt:生成 WebVTT 字幕文件。</li>
30748 30749 30750 |
# File 'lib/v20190612/models.rb', line 30748 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
30757 30758 30759 30760 30761 30762 |
# File 'lib/v20190612/models.rb', line 30757 def deserialize(params) @Switch = params['Switch'] @SourceLanguage = params['SourceLanguage'] @DestinationLanguage = params['DestinationLanguage'] @SubtitleFormat = params['SubtitleFormat'] end |