Class: TencentCloud::Tci::V20190318::StandardVideoResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::StandardVideoResult
- Defined in:
- lib/v20190318/models.rb
Overview
标准化接口图像分析结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(highlightsinfo = nil, message = nil, status = nil) ⇒ StandardVideoResult
constructor
A new instance of StandardVideoResult.
Constructor Details
#initialize(highlightsinfo = nil, message = nil, status = nil) ⇒ StandardVideoResult
Returns a new instance of StandardVideoResult.
3041 3042 3043 3044 3045 |
# File 'lib/v20190318/models.rb', line 3041 def initialize(highlightsinfo=nil, =nil, status=nil) @HighlightsInfo = highlightsinfo @Message = @Status = status end |
Instance Attribute Details
#HighlightsInfo ⇒ Object
3039 3040 3041 |
# File 'lib/v20190318/models.rb', line 3039 def HighlightsInfo @HighlightsInfo end |
#Message ⇒ Object
3039 3040 3041 |
# File 'lib/v20190318/models.rb', line 3039 def Message @Message end |
#Status ⇒ Object
3039 3040 3041 |
# File 'lib/v20190318/models.rb', line 3039 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 |
# File 'lib/v20190318/models.rb', line 3047 def deserialize(params) unless params['HighlightsInfo'].nil? @HighlightsInfo = [] params['HighlightsInfo'].each do |i| highlightsinfomation_tmp = HighlightsInfomation.new highlightsinfomation_tmp.deserialize(i) @HighlightsInfo << highlightsinfomation_tmp end end @Message = params['Message'] @Status = params['Status'] end |