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.
9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 |
# File 'lib/v20190612/models.rb', line 9904 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识别字幕
9902 9903 9904 |
# File 'lib/v20190612/models.rb', line 9902 def AsrHotWordsConfigure @AsrHotWordsConfigure end |
#Comment ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕
9902 9903 9904 |
# File 'lib/v20190612/models.rb', line 9902 def Comment @Comment end |
#Name ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕
9902 9903 9904 |
# File 'lib/v20190612/models.rb', line 9902 def Name @Name end |
#ProcessType ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕
9902 9903 9904 |
# File 'lib/v20190612/models.rb', line 9902 def ProcessType @ProcessType end |
#SelectingSubtitleAreasConfig ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕
9902 9903 9904 |
# File 'lib/v20190612/models.rb', line 9902 def SelectingSubtitleAreasConfig @SelectingSubtitleAreasConfig end |
#SubtitleFormat ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕
9902 9903 9904 |
# File 'lib/v20190612/models.rb', line 9902 def SubtitleFormat @SubtitleFormat end |
#SubtitleType ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕
9902 9903 9904 |
# File 'lib/v20190612/models.rb', line 9902 def SubtitleType @SubtitleType end |
#TranslateDstLanguage ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕
9902 9903 9904 |
# File 'lib/v20190612/models.rb', line 9902 def TranslateDstLanguage @TranslateDstLanguage end |
#TranslateSwitch ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕
9902 9903 9904 |
# File 'lib/v20190612/models.rb', line 9902 def TranslateSwitch @TranslateSwitch end |
#VideoSrcLanguage ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕
9902 9903 9904 |
# File 'lib/v20190612/models.rb', line 9902 def VideoSrcLanguage @VideoSrcLanguage end |
Instance Method Details
#deserialize(params) ⇒ Object
9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 |
# File 'lib/v20190612/models.rb', line 9917 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 |