Class: TencentCloud::Ocr::V20181119::TableOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::TableOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
TableOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(textdetections = nil, data = nil, requestid = nil) ⇒ TableOCRResponse
constructor
A new instance of TableOCRResponse.
Constructor Details
#initialize(textdetections = nil, data = nil, requestid = nil) ⇒ TableOCRResponse
Returns a new instance of TableOCRResponse.
11617 11618 11619 11620 11621 |
# File 'lib/v20181119/models.rb', line 11617 def initialize(textdetections=nil, data=nil, requestid=nil) @TextDetections = textdetections @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
11615 11616 11617 |
# File 'lib/v20181119/models.rb', line 11615 def Data @Data end |
#RequestId ⇒ Object
11615 11616 11617 |
# File 'lib/v20181119/models.rb', line 11615 def RequestId @RequestId end |
#TextDetections ⇒ Object
11615 11616 11617 |
# File 'lib/v20181119/models.rb', line 11615 def TextDetections @TextDetections end |
Instance Method Details
#deserialize(params) ⇒ Object
11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 |
# File 'lib/v20181119/models.rb', line 11623 def deserialize(params) unless params['TextDetections'].nil? @TextDetections = [] params['TextDetections'].each do |i| texttable_tmp = TextTable.new texttable_tmp.deserialize(i) @TextDetections << texttable_tmp end end @Data = params['Data'] @RequestId = params['RequestId'] end |