Class: TencentCloud::Ocr::V20181119::RecognizeFormulaOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizeFormulaOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizeFormulaOCR请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imageurl = nil, imagebase64 = nil, ispdf = nil, pdfpagenumber = nil) ⇒ RecognizeFormulaOCRRequest
constructor
A new instance of RecognizeFormulaOCRRequest.
Constructor Details
#initialize(imageurl = nil, imagebase64 = nil, ispdf = nil, pdfpagenumber = nil) ⇒ RecognizeFormulaOCRRequest
Returns a new instance of RecognizeFormulaOCRRequest.
8831 8832 8833 8834 8835 8836 |
# File 'lib/v20181119/models.rb', line 8831 def initialize(imageurl=nil, imagebase64=nil, ispdf=nil, pdfpagenumber=nil) @ImageUrl = imageurl @ImageBase64 = imagebase64 @IsPdf = ispdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#ImageBase64 ⇒ Object
8829 8830 8831 |
# File 'lib/v20181119/models.rb', line 8829 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
8829 8830 8831 |
# File 'lib/v20181119/models.rb', line 8829 def ImageUrl @ImageUrl end |
#IsPdf ⇒ Object
8829 8830 8831 |
# File 'lib/v20181119/models.rb', line 8829 def IsPdf @IsPdf end |
#PdfPageNumber ⇒ Object
8829 8830 8831 |
# File 'lib/v20181119/models.rb', line 8829 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
8838 8839 8840 8841 8842 8843 |
# File 'lib/v20181119/models.rb', line 8838 def deserialize(params) @ImageUrl = params['ImageUrl'] @ImageBase64 = params['ImageBase64'] @IsPdf = params['IsPdf'] @PdfPageNumber = params['PdfPageNumber'] end |