Class: TencentCloud::Ocr::V20181119::RecognizeFormulaOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizeFormulaOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizeFormulaOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(angle = nil, formulainfolist = nil, requestid = nil) ⇒ RecognizeFormulaOCRResponse
constructor
A new instance of RecognizeFormulaOCRResponse.
Constructor Details
#initialize(angle = nil, formulainfolist = nil, requestid = nil) ⇒ RecognizeFormulaOCRResponse
Returns a new instance of RecognizeFormulaOCRResponse.
8907 8908 8909 8910 8911 |
# File 'lib/v20181119/models.rb', line 8907 def initialize(angle=nil, formulainfolist=nil, requestid=nil) @Angle = angle @FormulaInfoList = formulainfolist @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
8905 8906 8907 |
# File 'lib/v20181119/models.rb', line 8905 def Angle @Angle end |
#FormulaInfoList ⇒ Object
8905 8906 8907 |
# File 'lib/v20181119/models.rb', line 8905 def FormulaInfoList @FormulaInfoList end |
#RequestId ⇒ Object
8905 8906 8907 |
# File 'lib/v20181119/models.rb', line 8905 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 |
# File 'lib/v20181119/models.rb', line 8913 def deserialize(params) @Angle = params['Angle'] unless params['FormulaInfoList'].nil? @FormulaInfoList = [] params['FormulaInfoList'].each do |i| textformulainfo_tmp = TextFormulaInfo.new textformulainfo_tmp.deserialize(i) @FormulaInfoList << textformulainfo_tmp end end @RequestId = params['RequestId'] end |