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.
9620 9621 9622 9623 9624 9625 9626 |
# File 'lib/v20181119/models.rb', line 9620 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
9618 9619 9620 |
# File 'lib/v20181119/models.rb', line 9618 def Angle @Angle end |
#Data ⇒ Object
9618 9619 9620 |
# File 'lib/v20181119/models.rb', line 9618 def Data @Data end |
#PdfPageSize ⇒ Object
9618 9619 9620 |
# File 'lib/v20181119/models.rb', line 9618 def PdfPageSize @PdfPageSize end |
#RequestId ⇒ Object
9618 9619 9620 |
# File 'lib/v20181119/models.rb', line 9618 def RequestId @RequestId end |
#TableDetections ⇒ Object
9618 9619 9620 |
# File 'lib/v20181119/models.rb', line 9618 def TableDetections @TableDetections end |
Instance Method Details
#deserialize(params) ⇒ Object
9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 |
# File 'lib/v20181119/models.rb', line 9628 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 |