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.
8814 8815 8816 8817 8818 8819 |
# File 'lib/v20181119/models.rb', line 8814 def initialize(imageurl=nil, imagebase64=nil, ispdf=nil, pdfpagenumber=nil) @ImageUrl = imageurl @ImageBase64 = imagebase64 @IsPdf = ispdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#ImageBase64 ⇒ Object
8812 8813 8814 |
# File 'lib/v20181119/models.rb', line 8812 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
8812 8813 8814 |
# File 'lib/v20181119/models.rb', line 8812 def ImageUrl @ImageUrl end |
#IsPdf ⇒ Object
8812 8813 8814 |
# File 'lib/v20181119/models.rb', line 8812 def IsPdf @IsPdf end |
#PdfPageNumber ⇒ Object
8812 8813 8814 |
# File 'lib/v20181119/models.rb', line 8812 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
8821 8822 8823 8824 8825 8826 |
# File 'lib/v20181119/models.rb', line 8821 def deserialize(params) @ImageUrl = params['ImageUrl'] @ImageBase64 = params['ImageBase64'] @IsPdf = params['IsPdf'] @PdfPageNumber = params['PdfPageNumber'] end |