Class: TencentCloud::Ocr::V20181119::DescribeExtractDocAgentJobResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::DescribeExtractDocAgentJobResponse
- Defined in:
- lib/v20181119/models.rb
Overview
DescribeExtractDocAgentJob返回参数结构体
Instance Attribute Summary collapse
- #Angle ⇒ Object
- #ErrorCode ⇒ Object
- #ErrorMessage ⇒ Object
- #JobStatus ⇒ Object
- #RequestId ⇒ Object
- #StructuralList ⇒ Object
- #ThoughtContent ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(angle = nil, structurallist = nil, errorcode = nil, errormessage = nil, jobstatus = nil, thoughtcontent = nil, requestid = nil) ⇒ DescribeExtractDocAgentJobResponse
constructor
A new instance of DescribeExtractDocAgentJobResponse.
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, =nil, jobstatus=nil, thoughtcontent=nil, requestid=nil) @Angle = angle @StructuralList = structurallist @ErrorCode = errorcode @ErrorMessage = @JobStatus = jobstatus @ThoughtContent = thoughtcontent @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
1675 1676 1677 |
# File 'lib/v20181119/models.rb', line 1675 def Angle @Angle end |
#ErrorCode ⇒ Object
1675 1676 1677 |
# File 'lib/v20181119/models.rb', line 1675 def ErrorCode @ErrorCode end |
#ErrorMessage ⇒ Object
1675 1676 1677 |
# File 'lib/v20181119/models.rb', line 1675 def ErrorMessage @ErrorMessage end |
#JobStatus ⇒ Object
1675 1676 1677 |
# File 'lib/v20181119/models.rb', line 1675 def JobStatus @JobStatus end |
#RequestId ⇒ Object
1675 1676 1677 |
# File 'lib/v20181119/models.rb', line 1675 def RequestId @RequestId end |
#StructuralList ⇒ Object
1675 1676 1677 |
# File 'lib/v20181119/models.rb', line 1675 def StructuralList @StructuralList end |
#ThoughtContent ⇒ Object
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 |