Class: TencentCloud::Ocr::V20181119::RecognizeTableOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizeTableOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizeTableOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tabledetections = nil, data = nil, pdfpagesize = nil, angle = nil, requestid = nil) ⇒ RecognizeTableOCRResponse
constructor
A new instance of RecognizeTableOCRResponse.
Constructor Details
#initialize(tabledetections = nil, data = nil, pdfpagesize = nil, angle = nil, requestid = nil) ⇒ RecognizeTableOCRResponse
Returns a new instance of RecognizeTableOCRResponse.
9529 9530 9531 9532 9533 9534 9535 |
# File 'lib/v20181119/models.rb', line 9529 def initialize(tabledetections=nil, data=nil, pdfpagesize=nil, angle=nil, requestid=nil) @TableDetections = tabledetections @Data = data @PdfPageSize = pdfpagesize @Angle = angle @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
9527 9528 9529 |
# File 'lib/v20181119/models.rb', line 9527 def Angle @Angle end |
#Data ⇒ Object
9527 9528 9529 |
# File 'lib/v20181119/models.rb', line 9527 def Data @Data end |
#PdfPageSize ⇒ Object
9527 9528 9529 |
# File 'lib/v20181119/models.rb', line 9527 def PdfPageSize @PdfPageSize end |
#RequestId ⇒ Object
9527 9528 9529 |
# File 'lib/v20181119/models.rb', line 9527 def RequestId @RequestId end |
#TableDetections ⇒ Object
9527 9528 9529 |
# File 'lib/v20181119/models.rb', line 9527 def TableDetections @TableDetections end |
Instance Method Details
#deserialize(params) ⇒ Object
9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 |
# File 'lib/v20181119/models.rb', line 9537 def deserialize(params) unless params['TableDetections'].nil? @TableDetections = [] params['TableDetections'].each do |i| tabledetectinfo_tmp = TableDetectInfo.new tabledetectinfo_tmp.deserialize(i) @TableDetections << tabledetectinfo_tmp end end @Data = params['Data'] @PdfPageSize = params['PdfPageSize'] @Angle = params['Angle'] @RequestId = params['RequestId'] end |