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.
4056 4057 4058 4059 4060 |
# File 'lib/v20181119/models.rb', line 4056 def initialize(angle=nil, formulainfos=nil, requestid=nil) @Angle = angle @FormulaInfos = formulainfos @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
4054 4055 4056 |
# File 'lib/v20181119/models.rb', line 4054 def Angle @Angle end |
#FormulaInfos ⇒ Object
4054 4055 4056 |
# File 'lib/v20181119/models.rb', line 4054 def FormulaInfos @FormulaInfos end |
#RequestId ⇒ Object
4054 4055 4056 |
# File 'lib/v20181119/models.rb', line 4054 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 |
# File 'lib/v20181119/models.rb', line 4062 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 |