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.
11633 11634 11635 11636 11637 |
# File 'lib/v20181119/models.rb', line 11633 def initialize(textdetections=nil, data=nil, requestid=nil) @TextDetections = textdetections @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
11631 11632 11633 |
# File 'lib/v20181119/models.rb', line 11631 def Data @Data end |
#RequestId ⇒ Object
11631 11632 11633 |
# File 'lib/v20181119/models.rb', line 11631 def RequestId @RequestId end |
#TextDetections ⇒ Object
11631 11632 11633 |
# File 'lib/v20181119/models.rb', line 11631 def TextDetections @TextDetections end |
Instance Method Details
#deserialize(params) ⇒ Object
11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 |
# File 'lib/v20181119/models.rb', line 11639 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 |