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.
22757 22758 22759 22760 22761 22762 22763 22764 22765 22766 22767 22768 22769 |
# File 'lib/v20190612/models.rb', line 22757 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方式
22755 22756 22757 |
# File 'lib/v20190612/models.rb', line 22755 def AsrHotWordsConfigure @AsrHotWordsConfigure end |
#Comment ⇒ Object
**注意**:不传的情况下,默认是ASR方式
22755 22756 22757 |
# File 'lib/v20190612/models.rb', line 22755 def Comment @Comment end |
#Definition ⇒ Object
**注意**:不传的情况下,默认是ASR方式
22755 22756 22757 |
# File 'lib/v20190612/models.rb', line 22755 def Definition @Definition end |
#Name ⇒ Object
**注意**:不传的情况下,默认是ASR方式
22755 22756 22757 |
# File 'lib/v20190612/models.rb', line 22755 def Name @Name end |
#ProcessType ⇒ Object
**注意**:不传的情况下,默认是ASR方式
22755 22756 22757 |
# File 'lib/v20190612/models.rb', line 22755 def ProcessType @ProcessType end |
#SelectingSubtitleAreasConfig ⇒ Object
**注意**:不传的情况下,默认是ASR方式
22755 22756 22757 |
# File 'lib/v20190612/models.rb', line 22755 def SelectingSubtitleAreasConfig @SelectingSubtitleAreasConfig end |
#SubtitleFormat ⇒ Object
**注意**:不传的情况下,默认是ASR方式
22755 22756 22757 |
# File 'lib/v20190612/models.rb', line 22755 def SubtitleFormat @SubtitleFormat end |
#SubtitleType ⇒ Object
**注意**:不传的情况下,默认是ASR方式
22755 22756 22757 |
# File 'lib/v20190612/models.rb', line 22755 def SubtitleType @SubtitleType end |
#TranslateDstLanguage ⇒ Object
**注意**:不传的情况下,默认是ASR方式
22755 22756 22757 |
# File 'lib/v20190612/models.rb', line 22755 def TranslateDstLanguage @TranslateDstLanguage end |
#TranslateSwitch ⇒ Object
**注意**:不传的情况下,默认是ASR方式
22755 22756 22757 |
# File 'lib/v20190612/models.rb', line 22755 def TranslateSwitch @TranslateSwitch end |
#VideoSrcLanguage ⇒ Object
**注意**:不传的情况下,默认是ASR方式
22755 22756 22757 |
# File 'lib/v20190612/models.rb', line 22755 def VideoSrcLanguage @VideoSrcLanguage end |
Instance Method Details
#deserialize(params) ⇒ Object
22771 22772 22773 22774 22775 22776 22777 22778 22779 22780 22781 22782 22783 22784 22785 22786 22787 22788 22789 |
# File 'lib/v20190612/models.rb', line 22771 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 |