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.
9362 9363 9364 9365 9366 9367 9368 |
# File 'lib/v20181119/models.rb', line 9362 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
9360 9361 9362 |
# File 'lib/v20181119/models.rb', line 9360 def Angle @Angle end |
#Data ⇒ Object
9360 9361 9362 |
# File 'lib/v20181119/models.rb', line 9360 def Data @Data end |
#PdfPageSize ⇒ Object
9360 9361 9362 |
# File 'lib/v20181119/models.rb', line 9360 def PdfPageSize @PdfPageSize end |
#RequestId ⇒ Object
9360 9361 9362 |
# File 'lib/v20181119/models.rb', line 9360 def RequestId @RequestId end |
#TableDetections ⇒ Object
9360 9361 9362 |
# File 'lib/v20181119/models.rb', line 9360 def TableDetections @TableDetections end |
Instance Method Details
#deserialize(params) ⇒ Object
9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 |
# File 'lib/v20181119/models.rb', line 9370 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 |