Class: TencentCloud::Mps::V20190612::AiRecognitionTaskObjectResult

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) ⇒ AiRecognitionTaskObjectResult

Returns a new instance of AiRecognitionTaskObjectResult.



3244
3245
3246
3247
3248
3249
3250
# File 'lib/v20190612/models.rb', line 3244

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:

    物体识别任务输出信息。



3242
3243
3244
# File 'lib/v20190612/models.rb', line 3242

def ErrCode
  @ErrCode
end

#InputObject

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

Parameters:

  • Status:

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

  • ErrCode:

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

  • Message:

    错误信息。

  • Input:

    物体识别任务输入信息。

  • Output:

    物体识别任务输出信息。



3242
3243
3244
# File 'lib/v20190612/models.rb', line 3242

def Input
  @Input
end

#MessageObject

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

Parameters:

  • Status:

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

  • ErrCode:

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

  • Message:

    错误信息。

  • Input:

    物体识别任务输入信息。

  • Output:

    物体识别任务输出信息。



3242
3243
3244
# File 'lib/v20190612/models.rb', line 3242

def Message
  @Message
end

#OutputObject

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

Parameters:

  • Status:

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

  • ErrCode:

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

  • Message:

    错误信息。

  • Input:

    物体识别任务输入信息。

  • Output:

    物体识别任务输出信息。



3242
3243
3244
# File 'lib/v20190612/models.rb', line 3242

def Output
  @Output
end

#StatusObject

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

Parameters:

  • Status:

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

  • ErrCode:

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

  • Message:

    错误信息。

  • Input:

    物体识别任务输入信息。

  • Output:

    物体识别任务输出信息。



3242
3243
3244
# File 'lib/v20190612/models.rb', line 3242

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
# File 'lib/v20190612/models.rb', line 3252

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