Class: TencentCloud::Ocr::V20181119::DescribeExtractDocAgentJobResponse

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

Overview

DescribeExtractDocAgentJob返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(angle = nil, structurallist = nil, errorcode = nil, errormessage = nil, jobstatus = nil, thoughtcontent = nil, requestid = nil) ⇒ DescribeExtractDocAgentJobResponse



1677
1678
1679
1680
1681
1682
1683
1684
1685
# File 'lib/v20181119/models.rb', line 1677

def initialize(angle=nil, structurallist=nil, errorcode=nil, errormessage=nil, jobstatus=nil, thoughtcontent=nil, requestid=nil)
  @Angle = angle
  @StructuralList = structurallist
  @ErrorCode = errorcode
  @ErrorMessage = errormessage
  @JobStatus = jobstatus
  @ThoughtContent = thoughtcontent
  @RequestId = requestid
end

Instance Attribute Details

#AngleObject



1675
1676
1677
# File 'lib/v20181119/models.rb', line 1675

def Angle
  @Angle
end

#ErrorCodeObject



1675
1676
1677
# File 'lib/v20181119/models.rb', line 1675

def ErrorCode
  @ErrorCode
end

#ErrorMessageObject



1675
1676
1677
# File 'lib/v20181119/models.rb', line 1675

def ErrorMessage
  @ErrorMessage
end

#JobStatusObject



1675
1676
1677
# File 'lib/v20181119/models.rb', line 1675

def JobStatus
  @JobStatus
end

#RequestIdObject



1675
1676
1677
# File 'lib/v20181119/models.rb', line 1675

def RequestId
  @RequestId
end

#StructuralListObject



1675
1676
1677
# File 'lib/v20181119/models.rb', line 1675

def StructuralList
  @StructuralList
end

#ThoughtContentObject



1675
1676
1677
# File 'lib/v20181119/models.rb', line 1675

def ThoughtContent
  @ThoughtContent
end

Instance Method Details

#deserialize(params) ⇒ Object



1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
# File 'lib/v20181119/models.rb', line 1687

def deserialize(params)
  @Angle = params['Angle']
  unless params['StructuralList'].nil?
    @StructuralList = []
    params['StructuralList'].each do |i|
      groupinfo_tmp = GroupInfo.new
      groupinfo_tmp.deserialize(i)
      @StructuralList << groupinfo_tmp
    end
  end
  @ErrorCode = params['ErrorCode']
  @ErrorMessage = params['ErrorMessage']
  @JobStatus = params['JobStatus']
  @ThoughtContent = params['ThoughtContent']
  @RequestId = params['RequestId']
end