Class: TencentCloud::Ocr::V20181119::GeneralEfficientOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::GeneralEfficientOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
GeneralEfficientOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(textdetections = nil, angel = nil, requestid = nil) ⇒ GeneralEfficientOCRResponse
constructor
A new instance of GeneralEfficientOCRResponse.
Constructor Details
#initialize(textdetections = nil, angel = nil, requestid = nil) ⇒ GeneralEfficientOCRResponse
Returns a new instance of GeneralEfficientOCRResponse.
3684 3685 3686 3687 3688 |
# File 'lib/v20181119/models.rb', line 3684 def initialize(textdetections=nil, angel=nil, requestid=nil) @TextDetections = textdetections @Angel = angel @RequestId = requestid end |
Instance Attribute Details
#Angel ⇒ Object
3682 3683 3684 |
# File 'lib/v20181119/models.rb', line 3682 def Angel @Angel end |
#RequestId ⇒ Object
3682 3683 3684 |
# File 'lib/v20181119/models.rb', line 3682 def RequestId @RequestId end |
#TextDetections ⇒ Object
3682 3683 3684 |
# File 'lib/v20181119/models.rb', line 3682 def TextDetections @TextDetections end |
Instance Method Details
#deserialize(params) ⇒ Object
3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 |
# File 'lib/v20181119/models.rb', line 3690 def deserialize(params) unless params['TextDetections'].nil? @TextDetections = [] params['TextDetections'].each do |i| textdetection_tmp = TextDetection.new textdetection_tmp.deserialize(i) @TextDetections << textdetection_tmp end end @Angel = params['Angel'] @RequestId = params['RequestId'] end |