Class: TencentCloud::Iotexplorer::V20190423::CreateVisionRecognitionTaskOutput

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

Overview

批量创建 TWeSee 语义理解任务的响应

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(created = nil, taskid = nil, errorcode = nil, errormessage = nil) ⇒ CreateVisionRecognitionTaskOutput

Returns a new instance of CreateVisionRecognitionTaskOutput.



3123
3124
3125
3126
3127
3128
# File 'lib/v20190423/models.rb', line 3123

def initialize(created=nil, taskid=nil, errorcode=nil, errormessage=nil)
  @Created = created
  @TaskId = taskid
  @ErrorCode = errorcode
  @ErrorMessage = errormessage
end

Instance Attribute Details

#CreatedObject

Parameters:

  • Created:

    创建任务成功

  • TaskId:

    任务 ID

  • ErrorCode:

    错误码

  • ErrorMessage:

    错误消息



3121
3122
3123
# File 'lib/v20190423/models.rb', line 3121

def Created
  @Created
end

#ErrorCodeObject

Parameters:

  • Created:

    创建任务成功

  • TaskId:

    任务 ID

  • ErrorCode:

    错误码

  • ErrorMessage:

    错误消息



3121
3122
3123
# File 'lib/v20190423/models.rb', line 3121

def ErrorCode
  @ErrorCode
end

#ErrorMessageObject

Parameters:

  • Created:

    创建任务成功

  • TaskId:

    任务 ID

  • ErrorCode:

    错误码

  • ErrorMessage:

    错误消息



3121
3122
3123
# File 'lib/v20190423/models.rb', line 3121

def ErrorMessage
  @ErrorMessage
end

#TaskIdObject

Parameters:

  • Created:

    创建任务成功

  • TaskId:

    任务 ID

  • ErrorCode:

    错误码

  • ErrorMessage:

    错误消息



3121
3122
3123
# File 'lib/v20190423/models.rb', line 3121

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



3130
3131
3132
3133
3134
3135
# File 'lib/v20190423/models.rb', line 3130

def deserialize(params)
  @Created = params['Created']
  @TaskId = params['TaskId']
  @ErrorCode = params['ErrorCode']
  @ErrorMessage = params['ErrorMessage']
end