Class: TencentCloud::Mps::V20190612::AiAnalysisTaskHighlightOutput
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AiAnalysisTaskHighlightOutput
- Defined in:
- lib/v20190612/models.rb
Overview
智能精彩片段结果信息
Instance Attribute Summary collapse
-
#HighlightSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#OutputStorage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(highlightset = nil, outputstorage = nil) ⇒ AiAnalysisTaskHighlightOutput
constructor
A new instance of AiAnalysisTaskHighlightOutput.
Constructor Details
#initialize(highlightset = nil, outputstorage = nil) ⇒ AiAnalysisTaskHighlightOutput
Returns a new instance of AiAnalysisTaskHighlightOutput.
1836 1837 1838 1839 |
# File 'lib/v20190612/models.rb', line 1836 def initialize(highlightset=nil, outputstorage=nil) @HighlightSet = highlightset @OutputStorage = outputstorage end |
Instance Attribute Details
#HighlightSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1834 1835 1836 |
# File 'lib/v20190612/models.rb', line 1834 def HighlightSet @HighlightSet end |
#OutputStorage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1834 1835 1836 |
# File 'lib/v20190612/models.rb', line 1834 def OutputStorage @OutputStorage end |
Instance Method Details
#deserialize(params) ⇒ Object
1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 |
# File 'lib/v20190612/models.rb', line 1841 def deserialize(params) unless params['HighlightSet'].nil? @HighlightSet = [] params['HighlightSet'].each do |i| mediaaianalysishighlightitem_tmp = MediaAiAnalysisHighlightItem.new mediaaianalysishighlightitem_tmp.deserialize(i) @HighlightSet << mediaaianalysishighlightitem_tmp end end unless params['OutputStorage'].nil? @OutputStorage = TaskOutputStorage.new @OutputStorage.deserialize(params['OutputStorage']) end end |