Class: TencentCloud::Tci::V20190318::SubmitImageTaskPlusResponse

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

Overview

SubmitImageTaskPlus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of SubmitImageTaskPlusResponse.



3704
3705
3706
3707
3708
3709
3710
# File 'lib/v20190318/models.rb', line 3704

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

#JobId ⇒ Object

Parameters:

  • ResultSet: —

    识别结果

  • JobId: —

    任务标识符

  • Progress: —

    任务进度

  • TotalCount: —

    结果总数目

  • RequestId: —

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



3702
3703
3704
# File 'lib/v20190318/models.rb', line 3702

def JobId
  @JobId
end

#Progress ⇒ Object

Parameters:

  • ResultSet: —

    识别结果

  • JobId: —

    任务标识符

  • Progress: —

    任务进度

  • TotalCount: —

    结果总数目

  • RequestId: —

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



3702
3703
3704
# File 'lib/v20190318/models.rb', line 3702

def Progress
  @Progress
end

#RequestId ⇒ Object

Parameters:

  • ResultSet: —

    识别结果

  • JobId: —

    任务标识符

  • Progress: —

    任务进度

  • TotalCount: —

    结果总数目

  • RequestId: —

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



3702
3703
3704
# File 'lib/v20190318/models.rb', line 3702

def RequestId
  @RequestId
end

#ResultSet ⇒ Object

Parameters:

  • ResultSet: —

    识别结果

  • JobId: —

    任务标识符

  • Progress: —

    任务进度

  • TotalCount: —

    结果总数目

  • RequestId: —

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



3702
3703
3704
# File 'lib/v20190318/models.rb', line 3702

def ResultSet
  @ResultSet
end

#TotalCount ⇒ Object

Parameters:

  • ResultSet: —

    识别结果

  • JobId: —

    任务标识符

  • Progress: —

    任务进度

  • TotalCount: —

    结果总数目

  • RequestId: —

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



3702
3703
3704
# File 'lib/v20190318/models.rb', line 3702

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
# File 'lib/v20190318/models.rb', line 3712

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