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.
14938 14939 14940 14941 |
# File 'lib/v20181119/models.rb', line 14938 def initialize(textdetections=nil, requestid=nil) @TextDetections = textdetections @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
14936 14937 14938 |
# File 'lib/v20181119/models.rb', line 14936 def RequestId @RequestId end |
#TextDetections ⇒ Object
14936 14937 14938 |
# File 'lib/v20181119/models.rb', line 14936 def TextDetections @TextDetections end |
Instance Method Details
#deserialize(params) ⇒ Object
14943 14944 14945 14946 14947 14948 14949 |
# File 'lib/v20181119/models.rb', line 14943 def deserialize(params) unless params['TextDetections'].nil? @TextDetections = TextWaybill.new @TextDetections.deserialize(params['TextDetections']) end @RequestId = params['RequestId'] end |