Class: TencentCloud::Ocr::V20181119::TaxiInvoiceOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::TaxiInvoiceOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
TaxiInvoiceOCR请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ TaxiInvoiceOCRRequest
constructor
A new instance of TaxiInvoiceOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ TaxiInvoiceOCRRequest
Returns a new instance of TaxiInvoiceOCRRequest.
11562 11563 11564 11565 11566 11567 |
# File 'lib/v20181119/models.rb', line 11562 def initialize(imagebase64=nil, imageurl=nil, ispdf=nil, pdfpagenumber=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @IsPdf = ispdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#ImageBase64 ⇒ Object
11560 11561 11562 |
# File 'lib/v20181119/models.rb', line 11560 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
11560 11561 11562 |
# File 'lib/v20181119/models.rb', line 11560 def ImageUrl @ImageUrl end |
#IsPdf ⇒ Object
11560 11561 11562 |
# File 'lib/v20181119/models.rb', line 11560 def IsPdf @IsPdf end |
#PdfPageNumber ⇒ Object
11560 11561 11562 |
# File 'lib/v20181119/models.rb', line 11560 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
11569 11570 11571 11572 11573 11574 |
# File 'lib/v20181119/models.rb', line 11569 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @IsPdf = params['IsPdf'] @PdfPageNumber = params['PdfPageNumber'] end |