Class: TencentCloud::Ocr::V20181119::FormulaOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::FormulaOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
FormulaOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(angle = nil, formulainfos = nil, requestid = nil) ⇒ FormulaOCRResponse
constructor
A new instance of FormulaOCRResponse.
Constructor Details
#initialize(angle = nil, formulainfos = nil, requestid = nil) ⇒ FormulaOCRResponse
Returns a new instance of FormulaOCRResponse.
3436 3437 3438 3439 3440 |
# File 'lib/v20181119/models.rb', line 3436 def initialize(angle=nil, formulainfos=nil, requestid=nil) @Angle = angle @FormulaInfos = formulainfos @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
3434 3435 3436 |
# File 'lib/v20181119/models.rb', line 3434 def Angle @Angle end |
#FormulaInfos ⇒ Object
3434 3435 3436 |
# File 'lib/v20181119/models.rb', line 3434 def FormulaInfos @FormulaInfos end |
#RequestId ⇒ Object
3434 3435 3436 |
# File 'lib/v20181119/models.rb', line 3434 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 |
# File 'lib/v20181119/models.rb', line 3442 def deserialize(params) @Angle = params['Angle'] unless params['FormulaInfos'].nil? @FormulaInfos = [] params['FormulaInfos'].each do |i| textformula_tmp = TextFormula.new textformula_tmp.deserialize(i) @FormulaInfos << textformula_tmp end end @RequestId = params['RequestId'] end |