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.
14773 14774 14775 14776 |
# File 'lib/v20181119/models.rb', line 14773 def initialize(textdetections=nil, requestid=nil) @TextDetections = textdetections @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
14771 14772 14773 |
# File 'lib/v20181119/models.rb', line 14771 def RequestId @RequestId end |
#TextDetections ⇒ Object
14771 14772 14773 |
# File 'lib/v20181119/models.rb', line 14771 def TextDetections @TextDetections end |
Instance Method Details
#deserialize(params) ⇒ Object
14778 14779 14780 14781 14782 14783 14784 |
# File 'lib/v20181119/models.rb', line 14778 def deserialize(params) unless params['TextDetections'].nil? @TextDetections = TextWaybill.new @TextDetections.deserialize(params['TextDetections']) end @RequestId = params['RequestId'] end |