Class: TencentCloud::Mps::V20190612::ModifySmartSubtitleTemplateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::ModifySmartSubtitleTemplateRequest
- Defined in:
- lib/v20190612/models.rb
Overview
ModifySmartSubtitleTemplate请求参数结构体
Instance Attribute Summary collapse
-
#AsrHotWordsConfigure ⇒ Object
注意:不传的情况下,默认是ASR方式.
-
#Comment ⇒ Object
注意:不传的情况下,默认是ASR方式.
-
#Definition ⇒ 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(definition = nil, translateswitch = nil, name = nil, comment = nil, videosrclanguage = nil, subtitleformat = nil, subtitletype = nil, asrhotwordsconfigure = nil, translatedstlanguage = nil, processtype = nil, selectingsubtitleareasconfig = nil) ⇒ ModifySmartSubtitleTemplateRequest
constructor
A new instance of ModifySmartSubtitleTemplateRequest.
Constructor Details
#initialize(definition = nil, translateswitch = nil, name = nil, comment = nil, videosrclanguage = nil, subtitleformat = nil, subtitletype = nil, asrhotwordsconfigure = nil, translatedstlanguage = nil, processtype = nil, selectingsubtitleareasconfig = nil) ⇒ ModifySmartSubtitleTemplateRequest
Returns a new instance of ModifySmartSubtitleTemplateRequest.
23061 23062 23063 23064 23065 23066 23067 23068 23069 23070 23071 23072 23073 |
# File 'lib/v20190612/models.rb', line 23061 def initialize(definition=nil, translateswitch=nil, name=nil, comment=nil, videosrclanguage=nil, subtitleformat=nil, subtitletype=nil, asrhotwordsconfigure=nil, translatedstlanguage=nil, processtype=nil, selectingsubtitleareasconfig=nil) @Definition = definition @TranslateSwitch = translateswitch @Name = name @Comment = comment @VideoSrcLanguage = videosrclanguage @SubtitleFormat = subtitleformat @SubtitleType = subtitletype @AsrHotWordsConfigure = asrhotwordsconfigure @TranslateDstLanguage = translatedstlanguage @ProcessType = processtype @SelectingSubtitleAreasConfig = selectingsubtitleareasconfig end |
Instance Attribute Details
#AsrHotWordsConfigure ⇒ Object
注意:不传的情况下,默认是ASR方式
23059 23060 23061 |
# File 'lib/v20190612/models.rb', line 23059 def AsrHotWordsConfigure @AsrHotWordsConfigure end |
#Comment ⇒ Object
注意:不传的情况下,默认是ASR方式
23059 23060 23061 |
# File 'lib/v20190612/models.rb', line 23059 def Comment @Comment end |
#Definition ⇒ Object
注意:不传的情况下,默认是ASR方式
23059 23060 23061 |
# File 'lib/v20190612/models.rb', line 23059 def Definition @Definition end |
#Name ⇒ Object
注意:不传的情况下,默认是ASR方式
23059 23060 23061 |
# File 'lib/v20190612/models.rb', line 23059 def Name @Name end |
#ProcessType ⇒ Object
注意:不传的情况下,默认是ASR方式
23059 23060 23061 |
# File 'lib/v20190612/models.rb', line 23059 def ProcessType @ProcessType end |
#SelectingSubtitleAreasConfig ⇒ Object
注意:不传的情况下,默认是ASR方式
23059 23060 23061 |
# File 'lib/v20190612/models.rb', line 23059 def SelectingSubtitleAreasConfig @SelectingSubtitleAreasConfig end |
#SubtitleFormat ⇒ Object
注意:不传的情况下,默认是ASR方式
23059 23060 23061 |
# File 'lib/v20190612/models.rb', line 23059 def SubtitleFormat @SubtitleFormat end |
#SubtitleType ⇒ Object
注意:不传的情况下,默认是ASR方式
23059 23060 23061 |
# File 'lib/v20190612/models.rb', line 23059 def SubtitleType @SubtitleType end |
#TranslateDstLanguage ⇒ Object
注意:不传的情况下,默认是ASR方式
23059 23060 23061 |
# File 'lib/v20190612/models.rb', line 23059 def TranslateDstLanguage @TranslateDstLanguage end |
#TranslateSwitch ⇒ Object
注意:不传的情况下,默认是ASR方式
23059 23060 23061 |
# File 'lib/v20190612/models.rb', line 23059 def TranslateSwitch @TranslateSwitch end |
#VideoSrcLanguage ⇒ Object
注意:不传的情况下,默认是ASR方式
23059 23060 23061 |
# File 'lib/v20190612/models.rb', line 23059 def VideoSrcLanguage @VideoSrcLanguage end |
Instance Method Details
#deserialize(params) ⇒ Object
23075 23076 23077 23078 23079 23080 23081 23082 23083 23084 23085 23086 23087 23088 23089 23090 23091 23092 23093 |
# File 'lib/v20190612/models.rb', line 23075 def deserialize(params) @Definition = params['Definition'] @TranslateSwitch = params['TranslateSwitch'] @Name = params['Name'] @Comment = params['Comment'] @VideoSrcLanguage = params['VideoSrcLanguage'] @SubtitleFormat = params['SubtitleFormat'] @SubtitleType = params['SubtitleType'] unless params['AsrHotWordsConfigure'].nil? @AsrHotWordsConfigure = AsrHotWordsConfigure.new @AsrHotWordsConfigure.deserialize(params['AsrHotWordsConfigure']) end @TranslateDstLanguage = params['TranslateDstLanguage'] @ProcessType = params['ProcessType'] unless params['SelectingSubtitleAreasConfig'].nil? @SelectingSubtitleAreasConfig = SelectingSubtitleAreasConfig.new @SelectingSubtitleAreasConfig.deserialize(params['SelectingSubtitleAreasConfig']) end end |