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.
11338 11339 11340 11341 11342 |
# File 'lib/v20181119/models.rb', line 11338 def initialize(textdetections=nil, data=nil, requestid=nil) @TextDetections = textdetections @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
11336 11337 11338 |
# File 'lib/v20181119/models.rb', line 11336 def Data @Data end |
#RequestId ⇒ Object
11336 11337 11338 |
# File 'lib/v20181119/models.rb', line 11336 def RequestId @RequestId end |
#TextDetections ⇒ Object
11336 11337 11338 |
# File 'lib/v20181119/models.rb', line 11336 def TextDetections @TextDetections end |
Instance Method Details
#deserialize(params) ⇒ Object
11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 |
# File 'lib/v20181119/models.rb', line 11344 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 |