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.
1805 1806 1807 1808 |
# File 'lib/v20190612/models.rb', line 1805 def initialize(highlightset=nil, outputstorage=nil) @HighlightSet = highlightset @OutputStorage = outputstorage end |
Instance Attribute Details
#HighlightSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1803 1804 1805 |
# File 'lib/v20190612/models.rb', line 1803 def HighlightSet @HighlightSet end |
#OutputStorage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1803 1804 1805 |
# File 'lib/v20190612/models.rb', line 1803 def OutputStorage @OutputStorage end |
Instance Method Details
#deserialize(params) ⇒ Object
1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 |
# File 'lib/v20190612/models.rb', line 1810 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 |