Class: TencentCloud::Tci::V20190318::SubmitImageTaskResponse

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

Overview

SubmitImageTask返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resultset = nil, jobid = nil, progress = nil, totalcount = nil, requestid = nil) ⇒ SubmitImageTaskResponse

Returns a new instance of SubmitImageTaskResponse.



3801
3802
3803
3804
3805
3806
3807
# File 'lib/v20190318/models.rb', line 3801

def initialize(resultset=nil, jobid=nil, progress=nil, totalcount=nil, requestid=nil)
  @ResultSet = resultset
  @JobId = jobid
  @Progress = progress
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#JobIdObject

Parameters:

  • ResultSet:

    识别结果

  • JobId:

    任务标识符

  • Progress:

    任务进度

  • TotalCount:

    结果总数目

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



3799
3800
3801
# File 'lib/v20190318/models.rb', line 3799

def JobId
  @JobId
end

#ProgressObject

Parameters:

  • ResultSet:

    识别结果

  • JobId:

    任务标识符

  • Progress:

    任务进度

  • TotalCount:

    结果总数目

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



3799
3800
3801
# File 'lib/v20190318/models.rb', line 3799

def Progress
  @Progress
end

#RequestIdObject

Parameters:

  • ResultSet:

    识别结果

  • JobId:

    任务标识符

  • Progress:

    任务进度

  • TotalCount:

    结果总数目

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



3799
3800
3801
# File 'lib/v20190318/models.rb', line 3799

def RequestId
  @RequestId
end

#ResultSetObject

Parameters:

  • ResultSet:

    识别结果

  • JobId:

    任务标识符

  • Progress:

    任务进度

  • TotalCount:

    结果总数目

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



3799
3800
3801
# File 'lib/v20190318/models.rb', line 3799

def ResultSet
  @ResultSet
end

#TotalCountObject

Parameters:

  • ResultSet:

    识别结果

  • JobId:

    任务标识符

  • Progress:

    任务进度

  • TotalCount:

    结果总数目

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



3799
3800
3801
# File 'lib/v20190318/models.rb', line 3799

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
# File 'lib/v20190318/models.rb', line 3809

def deserialize(params)
  unless params['ResultSet'].nil?
    @ResultSet = []
    params['ResultSet'].each do |i|
      imagetaskresult_tmp = ImageTaskResult.new
      imagetaskresult_tmp.deserialize(i)
      @ResultSet << imagetaskresult_tmp
    end
  end
  @JobId = params['JobId']
  @Progress = params['Progress']
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end