Class: TencentCloud::Mps::V20190612::AiAnalysisTaskVideoRemakeResult

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

Overview

视频去重结果数据结构

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status = nil, errcode = nil, message = nil, input = nil, output = nil) ⇒ AiAnalysisTaskVideoRemakeResult

Returns a new instance of AiAnalysisTaskVideoRemakeResult.



2131
2132
2133
2134
2135
2136
2137
# File 'lib/v20190612/models.rb', line 2131

def initialize(status=nil, errcode=nil, message=nil, input=nil, output=nil)
  @Status = status
  @ErrCode = errcode
  @Message = message
  @Input = input
  @Output = output
end

Instance Attribute Details

#ErrCodeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    任务状态,有 ‘PROCESSING`,`SUCCESS` 和 `FAIL` 三种

  • ErrCode:

    错误码,0:成功,其他值:失败

  • Message:

    错误信息

  • Input:

    去重任务输入

  • Output:

    去重任务输出



2129
2130
2131
# File 'lib/v20190612/models.rb', line 2129

def ErrCode
  @ErrCode
end

#InputObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    任务状态,有 ‘PROCESSING`,`SUCCESS` 和 `FAIL` 三种

  • ErrCode:

    错误码,0:成功,其他值:失败

  • Message:

    错误信息

  • Input:

    去重任务输入

  • Output:

    去重任务输出



2129
2130
2131
# File 'lib/v20190612/models.rb', line 2129

def Input
  @Input
end

#MessageObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    任务状态,有 ‘PROCESSING`,`SUCCESS` 和 `FAIL` 三种

  • ErrCode:

    错误码,0:成功,其他值:失败

  • Message:

    错误信息

  • Input:

    去重任务输入

  • Output:

    去重任务输出



2129
2130
2131
# File 'lib/v20190612/models.rb', line 2129

def Message
  @Message
end

#OutputObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    任务状态,有 ‘PROCESSING`,`SUCCESS` 和 `FAIL` 三种

  • ErrCode:

    错误码,0:成功,其他值:失败

  • Message:

    错误信息

  • Input:

    去重任务输入

  • Output:

    去重任务输出



2129
2130
2131
# File 'lib/v20190612/models.rb', line 2129

def Output
  @Output
end

#StatusObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Status:

    任务状态,有 ‘PROCESSING`,`SUCCESS` 和 `FAIL` 三种

  • ErrCode:

    错误码,0:成功,其他值:失败

  • Message:

    错误信息

  • Input:

    去重任务输入

  • Output:

    去重任务输出



2129
2130
2131
# File 'lib/v20190612/models.rb', line 2129

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
# File 'lib/v20190612/models.rb', line 2139

def deserialize(params)
  @Status = params['Status']
  @ErrCode = params['ErrCode']
  @Message = params['Message']
  unless params['Input'].nil?
    @Input = AiAnalysisTaskVideoRemakeInput.new
    @Input.deserialize(params['Input'])
  end
  unless params['Output'].nil?
    @Output = AiAnalysisTaskVideoRemakeOutput.new
    @Output.deserialize(params['Output'])
  end
end