Class: TencentCloud::Ocr::V20181119::WaybillOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::WaybillOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
WaybillOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(textdetections = nil, requestid = nil) ⇒ WaybillOCRResponse
constructor
A new instance of WaybillOCRResponse.
Constructor Details
#initialize(textdetections = nil, requestid = nil) ⇒ WaybillOCRResponse
Returns a new instance of WaybillOCRResponse.
15122 15123 15124 15125 |
# File 'lib/v20181119/models.rb', line 15122 def initialize(textdetections=nil, requestid=nil) @TextDetections = textdetections @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
15120 15121 15122 |
# File 'lib/v20181119/models.rb', line 15120 def RequestId @RequestId end |
#TextDetections ⇒ Object
15120 15121 15122 |
# File 'lib/v20181119/models.rb', line 15120 def TextDetections @TextDetections end |
Instance Method Details
#deserialize(params) ⇒ Object
15127 15128 15129 15130 15131 15132 15133 |
# File 'lib/v20181119/models.rb', line 15127 def deserialize(params) unless params['TextDetections'].nil? @TextDetections = TextWaybill.new @TextDetections.deserialize(params['TextDetections']) end @RequestId = params['RequestId'] end |