Class: TencentCloud::Tci::V20190318::StandardVideoResult

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190318/models.rb

Overview

标准化接口图像分析结果

Instance Attribute Summary collapse

Instance Method Summary collapse

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, message=nil, status=nil)
  @HighlightsInfo = highlightsinfo
  @Message = message
  @Status = status
end

Instance Attribute Details

#HighlightsInfoObject

Parameters:

  • HighlightsInfo:

    分析完成后的统计结果

  • Message:

    状态描述

  • Status:

    任务状态



3039
3040
3041
# File 'lib/v20190318/models.rb', line 3039

def HighlightsInfo
  @HighlightsInfo
end

#MessageObject

Parameters:

  • HighlightsInfo:

    分析完成后的统计结果

  • Message:

    状态描述

  • Status:

    任务状态



3039
3040
3041
# File 'lib/v20190318/models.rb', line 3039

def Message
  @Message
end

#StatusObject

Parameters:

  • HighlightsInfo:

    分析完成后的统计结果

  • Message:

    状态描述

  • Status:

    任务状态



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