Class: TencentCloud::Mps::V20190612::SmartSubtitleTemplateItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::SmartSubtitleTemplateItem
- Defined in:
- lib/v20190612/models.rb
Overview
智能字幕模板详情
Instance Attribute Summary collapse
-
#AliasName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 - 0:ASR识别字幕 - 1:纯字幕翻译 - 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#AsrHotWordsConfigure ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 - 0:ASR识别字幕 - 1:纯字幕翻译 - 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#AsrHotWordsLibraryName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 - 0:ASR识别字幕 - 1:纯字幕翻译 - 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#Comment ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 - 0:ASR识别字幕 - 1:纯字幕翻译 - 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 - 0:ASR识别字幕 - 1:纯字幕翻译 - 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#Definition ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 - 0:ASR识别字幕 - 1:纯字幕翻译 - 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 - 0:ASR识别字幕 - 1:纯字幕翻译 - 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#ProcessType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 - 0:ASR识别字幕 - 1:纯字幕翻译 - 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#SelectingSubtitleAreasConfig ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 - 0:ASR识别字幕 - 1:纯字幕翻译 - 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#SubtitleFormat ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 - 0:ASR识别字幕 - 1:纯字幕翻译 - 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#SubtitleType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 - 0:ASR识别字幕 - 1:纯字幕翻译 - 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#TranslateDstLanguage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 - 0:ASR识别字幕 - 1:纯字幕翻译 - 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#TranslateSwitch ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 - 0:ASR识别字幕 - 1:纯字幕翻译 - 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 - 0:ASR识别字幕 - 1:纯字幕翻译 - 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#UpdateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 - 0:ASR识别字幕 - 1:纯字幕翻译 - 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#VideoSrcLanguage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 - 0:ASR识别字幕 - 1:纯字幕翻译 - 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(definition = nil, name = nil, comment = nil, type = nil, asrhotwordsconfigure = nil, asrhotwordslibraryname = nil, videosrclanguage = nil, subtitleformat = nil, subtitletype = nil, translateswitch = nil, translatedstlanguage = nil, createtime = nil, updatetime = nil, aliasname = nil, processtype = nil, selectingsubtitleareasconfig = nil) ⇒ SmartSubtitleTemplateItem
constructor
A new instance of SmartSubtitleTemplateItem.
Constructor Details
#initialize(definition = nil, name = nil, comment = nil, type = nil, asrhotwordsconfigure = nil, asrhotwordslibraryname = nil, videosrclanguage = nil, subtitleformat = nil, subtitletype = nil, translateswitch = nil, translatedstlanguage = nil, createtime = nil, updatetime = nil, aliasname = nil, processtype = nil, selectingsubtitleareasconfig = nil) ⇒ SmartSubtitleTemplateItem
Returns a new instance of SmartSubtitleTemplateItem.
28823 28824 28825 28826 28827 28828 28829 28830 28831 28832 28833 28834 28835 28836 28837 28838 28839 28840 |
# File 'lib/v20190612/models.rb', line 28823 def initialize(definition=nil, name=nil, comment=nil, type=nil, asrhotwordsconfigure=nil, asrhotwordslibraryname=nil, videosrclanguage=nil, subtitleformat=nil, subtitletype=nil, translateswitch=nil, translatedstlanguage=nil, createtime=nil, updatetime=nil, aliasname=nil, processtype=nil, selectingsubtitleareasconfig=nil) @Definition = definition @Name = name @Comment = comment @Type = type @AsrHotWordsConfigure = asrhotwordsconfigure @AsrHotWordsLibraryName = asrhotwordslibraryname @VideoSrcLanguage = videosrclanguage @SubtitleFormat = subtitleformat @SubtitleType = subtitletype @TranslateSwitch = translateswitch @TranslateDstLanguage = translatedstlanguage @CreateTime = createtime @UpdateTime = updatetime @AliasName = aliasname @ProcessType = processtype @SelectingSubtitleAreasConfig = selectingsubtitleareasconfig end |
Instance Attribute Details
#AliasName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
- 0:ASR识别字幕
- 1:纯字幕翻译
- 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
28821 28822 28823 |
# File 'lib/v20190612/models.rb', line 28821 def AliasName @AliasName end |
#AsrHotWordsConfigure ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
- 0:ASR识别字幕
- 1:纯字幕翻译
- 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
28821 28822 28823 |
# File 'lib/v20190612/models.rb', line 28821 def AsrHotWordsConfigure @AsrHotWordsConfigure end |
#AsrHotWordsLibraryName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
- 0:ASR识别字幕
- 1:纯字幕翻译
- 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
28821 28822 28823 |
# File 'lib/v20190612/models.rb', line 28821 def AsrHotWordsLibraryName @AsrHotWordsLibraryName end |
#Comment ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
- 0:ASR识别字幕
- 1:纯字幕翻译
- 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
28821 28822 28823 |
# File 'lib/v20190612/models.rb', line 28821 def Comment @Comment end |
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
- 0:ASR识别字幕
- 1:纯字幕翻译
- 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
28821 28822 28823 |
# File 'lib/v20190612/models.rb', line 28821 def CreateTime @CreateTime end |
#Definition ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
- 0:ASR识别字幕
- 1:纯字幕翻译
- 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
28821 28822 28823 |
# File 'lib/v20190612/models.rb', line 28821 def Definition @Definition end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
- 0:ASR识别字幕
- 1:纯字幕翻译
- 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
28821 28822 28823 |
# File 'lib/v20190612/models.rb', line 28821 def Name @Name end |
#ProcessType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
- 0:ASR识别字幕
- 1:纯字幕翻译
- 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
28821 28822 28823 |
# File 'lib/v20190612/models.rb', line 28821 def ProcessType @ProcessType end |
#SelectingSubtitleAreasConfig ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
- 0:ASR识别字幕
- 1:纯字幕翻译
- 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
28821 28822 28823 |
# File 'lib/v20190612/models.rb', line 28821 def SelectingSubtitleAreasConfig @SelectingSubtitleAreasConfig end |
#SubtitleFormat ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
- 0:ASR识别字幕
- 1:纯字幕翻译
- 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
28821 28822 28823 |
# File 'lib/v20190612/models.rb', line 28821 def SubtitleFormat @SubtitleFormat end |
#SubtitleType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
- 0:ASR识别字幕
- 1:纯字幕翻译
- 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
28821 28822 28823 |
# File 'lib/v20190612/models.rb', line 28821 def SubtitleType @SubtitleType end |
#TranslateDstLanguage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
- 0:ASR识别字幕
- 1:纯字幕翻译
- 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
28821 28822 28823 |
# File 'lib/v20190612/models.rb', line 28821 def TranslateDstLanguage @TranslateDstLanguage end |
#TranslateSwitch ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
- 0:ASR识别字幕
- 1:纯字幕翻译
- 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
28821 28822 28823 |
# File 'lib/v20190612/models.rb', line 28821 def TranslateSwitch @TranslateSwitch end |
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
- 0:ASR识别字幕
- 1:纯字幕翻译
- 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
28821 28822 28823 |
# File 'lib/v20190612/models.rb', line 28821 def Type @Type end |
#UpdateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
- 0:ASR识别字幕
- 1:纯字幕翻译
- 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
28821 28822 28823 |
# File 'lib/v20190612/models.rb', line 28821 def UpdateTime @UpdateTime end |
#VideoSrcLanguage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
- 0:ASR识别字幕
- 1:纯字幕翻译
- 2: OCR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
28821 28822 28823 |
# File 'lib/v20190612/models.rb', line 28821 def VideoSrcLanguage @VideoSrcLanguage end |
Instance Method Details
#deserialize(params) ⇒ Object
28842 28843 28844 28845 28846 28847 28848 28849 28850 28851 28852 28853 28854 28855 28856 28857 28858 28859 28860 28861 28862 28863 28864 28865 |
# File 'lib/v20190612/models.rb', line 28842 def deserialize(params) @Definition = params['Definition'] @Name = params['Name'] @Comment = params['Comment'] @Type = params['Type'] unless params['AsrHotWordsConfigure'].nil? @AsrHotWordsConfigure = AsrHotWordsConfigure.new @AsrHotWordsConfigure.deserialize(params['AsrHotWordsConfigure']) end @AsrHotWordsLibraryName = params['AsrHotWordsLibraryName'] @VideoSrcLanguage = params['VideoSrcLanguage'] @SubtitleFormat = params['SubtitleFormat'] @SubtitleType = params['SubtitleType'] @TranslateSwitch = params['TranslateSwitch'] @TranslateDstLanguage = params['TranslateDstLanguage'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @AliasName = params['AliasName'] @ProcessType = params['ProcessType'] unless params['SelectingSubtitleAreasConfig'].nil? @SelectingSubtitleAreasConfig = SelectingSubtitleAreasConfig.new @SelectingSubtitleAreasConfig.deserialize(params['SelectingSubtitleAreasConfig']) end end |