Class: TencentCloud::Ocr::V20181119::InvoiceGeneralOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::InvoiceGeneralOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
InvoiceGeneralOCR请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ InvoiceGeneralOCRRequest
constructor
A new instance of InvoiceGeneralOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ InvoiceGeneralOCRRequest
Returns a new instance of InvoiceGeneralOCRRequest.
5636 5637 5638 5639 5640 5641 |
# File 'lib/v20181119/models.rb', line 5636 def initialize(imagebase64=nil, imageurl=nil, ispdf=nil, pdfpagenumber=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @IsPdf = ispdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#ImageBase64 ⇒ Object
5634 5635 5636 |
# File 'lib/v20181119/models.rb', line 5634 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
5634 5635 5636 |
# File 'lib/v20181119/models.rb', line 5634 def ImageUrl @ImageUrl end |
#IsPdf ⇒ Object
5634 5635 5636 |
# File 'lib/v20181119/models.rb', line 5634 def IsPdf @IsPdf end |
#PdfPageNumber ⇒ Object
5634 5635 5636 |
# File 'lib/v20181119/models.rb', line 5634 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
5643 5644 5645 5646 5647 5648 |
# File 'lib/v20181119/models.rb', line 5643 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @IsPdf = params['IsPdf'] @PdfPageNumber = params['PdfPageNumber'] end |