Class: TencentCloud::Mps::V20190612::RawSmartSubtitleParameter
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::RawSmartSubtitleParameter
- Defined in:
- lib/v20190612/models.rb
Overview
自定义智能字幕参数
Instance Attribute Summary collapse
-
#AsrHotWordsConfigure ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#ExtInfo ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#ProcessType ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#SelectingSubtitleAreasConfig ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#SubtitleFormat ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#SubtitleType ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#TranslateDstLanguage ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#TranslateSwitch ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
-
#VideoSrcLanguage ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(subtitletype = nil, videosrclanguage = nil, subtitleformat = nil, translateswitch = nil, translatedstlanguage = nil, asrhotwordsconfigure = nil, extinfo = nil, processtype = nil, selectingsubtitleareasconfig = nil) ⇒ RawSmartSubtitleParameter
constructor
A new instance of RawSmartSubtitleParameter.
Constructor Details
#initialize(subtitletype = nil, videosrclanguage = nil, subtitleformat = nil, translateswitch = nil, translatedstlanguage = nil, asrhotwordsconfigure = nil, extinfo = nil, processtype = nil, selectingsubtitleareasconfig = nil) ⇒ RawSmartSubtitleParameter
Returns a new instance of RawSmartSubtitleParameter.
26235 26236 26237 26238 26239 26240 26241 26242 26243 26244 26245 |
# File 'lib/v20190612/models.rb', line 26235 def initialize(subtitletype=nil, videosrclanguage=nil, subtitleformat=nil, translateswitch=nil, translatedstlanguage=nil, asrhotwordsconfigure=nil, extinfo=nil, processtype=nil, selectingsubtitleareasconfig=nil) @SubtitleType = subtitletype @VideoSrcLanguage = videosrclanguage @SubtitleFormat = subtitleformat @TranslateSwitch = translateswitch @TranslateDstLanguage = translatedstlanguage @AsrHotWordsConfigure = asrhotwordsconfigure @ExtInfo = extinfo @ProcessType = processtype @SelectingSubtitleAreasConfig = selectingsubtitleareasconfig end |
Instance Attribute Details
#AsrHotWordsConfigure ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
26233 26234 26235 |
# File 'lib/v20190612/models.rb', line 26233 def AsrHotWordsConfigure @AsrHotWordsConfigure end |
#ExtInfo ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
26233 26234 26235 |
# File 'lib/v20190612/models.rb', line 26233 def ExtInfo @ExtInfo end |
#ProcessType ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
26233 26234 26235 |
# File 'lib/v20190612/models.rb', line 26233 def ProcessType @ProcessType end |
#SelectingSubtitleAreasConfig ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
26233 26234 26235 |
# File 'lib/v20190612/models.rb', line 26233 def SelectingSubtitleAreasConfig @SelectingSubtitleAreasConfig end |
#SubtitleFormat ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
26233 26234 26235 |
# File 'lib/v20190612/models.rb', line 26233 def SubtitleFormat @SubtitleFormat end |
#SubtitleType ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
26233 26234 26235 |
# File 'lib/v20190612/models.rb', line 26233 def SubtitleType @SubtitleType end |
#TranslateDstLanguage ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
26233 26234 26235 |
# File 'lib/v20190612/models.rb', line 26233 def TranslateDstLanguage @TranslateDstLanguage end |
#TranslateSwitch ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
26233 26234 26235 |
# File 'lib/v20190612/models.rb', line 26233 def TranslateSwitch @TranslateSwitch end |
#VideoSrcLanguage ⇒ Object
注意:不传的情况下默认类型为 ASR识别字幕 注意:此字段可能返回 null,表示取不到有效值。
26233 26234 26235 |
# File 'lib/v20190612/models.rb', line 26233 def VideoSrcLanguage @VideoSrcLanguage end |
Instance Method Details
#deserialize(params) ⇒ Object
26247 26248 26249 26250 26251 26252 26253 26254 26255 26256 26257 26258 26259 26260 26261 26262 26263 |
# File 'lib/v20190612/models.rb', line 26247 def deserialize(params) @SubtitleType = params['SubtitleType'] @VideoSrcLanguage = params['VideoSrcLanguage'] @SubtitleFormat = params['SubtitleFormat'] @TranslateSwitch = params['TranslateSwitch'] @TranslateDstLanguage = params['TranslateDstLanguage'] unless params['AsrHotWordsConfigure'].nil? @AsrHotWordsConfigure = AsrHotWordsConfigure.new @AsrHotWordsConfigure.deserialize(params['AsrHotWordsConfigure']) end @ExtInfo = params['ExtInfo'] @ProcessType = params['ProcessType'] unless params['SelectingSubtitleAreasConfig'].nil? @SelectingSubtitleAreasConfig = SelectingSubtitleAreasConfig.new @SelectingSubtitleAreasConfig.deserialize(params['SelectingSubtitleAreasConfig']) end end |