Class: TencentCloud::Ocr::V20181119::ExtractDocAgentResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::ExtractDocAgentResponse
- Defined in:
- lib/v20181119/models.rb
Overview
ExtractDocAgent返回参数结构体
Instance Attribute Summary collapse
- #Angle ⇒ Object
- #ErrorCode ⇒ Object
- #ErrorMessage ⇒ Object
- #RequestId ⇒ Object
- #StructuralList ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(angle = nil, structurallist = nil, errorcode = nil, errormessage = nil, requestid = nil) ⇒ ExtractDocAgentResponse
constructor
A new instance of ExtractDocAgentResponse.
Constructor Details
#initialize(angle = nil, structurallist = nil, errorcode = nil, errormessage = nil, requestid = nil) ⇒ ExtractDocAgentResponse
Returns a new instance of ExtractDocAgentResponse.
3095 3096 3097 3098 3099 3100 3101 |
# File 'lib/v20181119/models.rb', line 3095 def initialize(angle=nil, structurallist=nil, errorcode=nil, =nil, requestid=nil) @Angle = angle @StructuralList = structurallist @ErrorCode = errorcode @ErrorMessage = @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
3093 3094 3095 |
# File 'lib/v20181119/models.rb', line 3093 def Angle @Angle end |
#ErrorCode ⇒ Object
3093 3094 3095 |
# File 'lib/v20181119/models.rb', line 3093 def ErrorCode @ErrorCode end |
#ErrorMessage ⇒ Object
3093 3094 3095 |
# File 'lib/v20181119/models.rb', line 3093 def ErrorMessage @ErrorMessage end |
#RequestId ⇒ Object
3093 3094 3095 |
# File 'lib/v20181119/models.rb', line 3093 def RequestId @RequestId end |
#StructuralList ⇒ Object
3093 3094 3095 |
# File 'lib/v20181119/models.rb', line 3093 def StructuralList @StructuralList end |
Instance Method Details
#deserialize(params) ⇒ Object
3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 |
# File 'lib/v20181119/models.rb', line 3103 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'] @RequestId = params['RequestId'] end |