Class: TencentCloud::Mps::V20190612::CreateSmartSubtitleTemplateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::CreateSmartSubtitleTemplateRequest
- Defined in:
- lib/v20190612/models.rb
Overview
CreateSmartSubtitleTemplate请求参数结构体
Instance Attribute Summary collapse
-
#AsrHotWordsConfigure ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕.
-
#Comment ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕.
-
#Name ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕.
-
#ProcessType ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕.
-
#SelectingSubtitleAreasConfig ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕.
-
#SubtitleFormat ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕.
-
#SubtitleType ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕.
-
#TranslateDstLanguage ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕.
-
#TranslateSwitch ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕.
-
#VideoSrcLanguage ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, videosrclanguage = nil, subtitletype = nil, comment = nil, subtitleformat = nil, asrhotwordsconfigure = nil, translateswitch = nil, translatedstlanguage = nil, processtype = nil, selectingsubtitleareasconfig = nil) ⇒ CreateSmartSubtitleTemplateRequest
constructor
A new instance of CreateSmartSubtitleTemplateRequest.
Constructor Details
#initialize(name = nil, videosrclanguage = nil, subtitletype = nil, comment = nil, subtitleformat = nil, asrhotwordsconfigure = nil, translateswitch = nil, translatedstlanguage = nil, processtype = nil, selectingsubtitleareasconfig = nil) ⇒ CreateSmartSubtitleTemplateRequest
Returns a new instance of CreateSmartSubtitleTemplateRequest.
9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 |
# File 'lib/v20190612/models.rb', line 9825 def initialize(name=nil, videosrclanguage=nil, subtitletype=nil, comment=nil, subtitleformat=nil, asrhotwordsconfigure=nil, translateswitch=nil, translatedstlanguage=nil, processtype=nil, selectingsubtitleareasconfig=nil) @Name = name @VideoSrcLanguage = videosrclanguage @SubtitleType = subtitletype @Comment = comment @SubtitleFormat = subtitleformat @AsrHotWordsConfigure = asrhotwordsconfigure @TranslateSwitch = translateswitch @TranslateDstLanguage = translatedstlanguage @ProcessType = processtype @SelectingSubtitleAreasConfig = selectingsubtitleareasconfig end |
Instance Attribute Details
#AsrHotWordsConfigure ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕
9823 9824 9825 |
# File 'lib/v20190612/models.rb', line 9823 def AsrHotWordsConfigure @AsrHotWordsConfigure end |
#Comment ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕
9823 9824 9825 |
# File 'lib/v20190612/models.rb', line 9823 def Comment @Comment end |
#Name ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕
9823 9824 9825 |
# File 'lib/v20190612/models.rb', line 9823 def Name @Name end |
#ProcessType ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕
9823 9824 9825 |
# File 'lib/v20190612/models.rb', line 9823 def ProcessType @ProcessType end |
#SelectingSubtitleAreasConfig ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕
9823 9824 9825 |
# File 'lib/v20190612/models.rb', line 9823 def SelectingSubtitleAreasConfig @SelectingSubtitleAreasConfig end |
#SubtitleFormat ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕
9823 9824 9825 |
# File 'lib/v20190612/models.rb', line 9823 def SubtitleFormat @SubtitleFormat end |
#SubtitleType ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕
9823 9824 9825 |
# File 'lib/v20190612/models.rb', line 9823 def SubtitleType @SubtitleType end |
#TranslateDstLanguage ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕
9823 9824 9825 |
# File 'lib/v20190612/models.rb', line 9823 def TranslateDstLanguage @TranslateDstLanguage end |
#TranslateSwitch ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕
9823 9824 9825 |
# File 'lib/v20190612/models.rb', line 9823 def TranslateSwitch @TranslateSwitch end |
#VideoSrcLanguage ⇒ Object
**注意**:不传的情况下默认类型为 ASR识别字幕
9823 9824 9825 |
# File 'lib/v20190612/models.rb', line 9823 def VideoSrcLanguage @VideoSrcLanguage end |
Instance Method Details
#deserialize(params) ⇒ Object
9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 |
# File 'lib/v20190612/models.rb', line 9838 def deserialize(params) @Name = params['Name'] @VideoSrcLanguage = params['VideoSrcLanguage'] @SubtitleType = params['SubtitleType'] @Comment = params['Comment'] @SubtitleFormat = params['SubtitleFormat'] unless params['AsrHotWordsConfigure'].nil? @AsrHotWordsConfigure = AsrHotWordsConfigure.new @AsrHotWordsConfigure.deserialize(params['AsrHotWordsConfigure']) end @TranslateSwitch = params['TranslateSwitch'] @TranslateDstLanguage = params['TranslateDstLanguage'] @ProcessType = params['ProcessType'] unless params['SelectingSubtitleAreasConfig'].nil? @SelectingSubtitleAreasConfig = SelectingSubtitleAreasConfig.new @SelectingSubtitleAreasConfig.deserialize(params['SelectingSubtitleAreasConfig']) end end |