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.
11673 11674 11675 11676 11677 11678 |
# File 'lib/v20181119/models.rb', line 11673 def initialize(imagebase64=nil, imageurl=nil, ispdf=nil, pdfpagenumber=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @IsPdf = ispdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#ImageBase64 ⇒ Object
11671 11672 11673 |
# File 'lib/v20181119/models.rb', line 11671 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
11671 11672 11673 |
# File 'lib/v20181119/models.rb', line 11671 def ImageUrl @ImageUrl end |
#IsPdf ⇒ Object
11671 11672 11673 |
# File 'lib/v20181119/models.rb', line 11671 def IsPdf @IsPdf end |
#PdfPageNumber ⇒ Object
11671 11672 11673 |
# File 'lib/v20181119/models.rb', line 11671 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
11680 11681 11682 11683 11684 11685 |
# File 'lib/v20181119/models.rb', line 11680 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @IsPdf = params['IsPdf'] @PdfPageNumber = params['PdfPageNumber'] end |