Class: TencentCloud::Ocr::V20181119::FlightInvoiceOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::FlightInvoiceOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
FlightInvoiceOCR请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ FlightInvoiceOCRRequest
constructor
A new instance of FlightInvoiceOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ FlightInvoiceOCRRequest
Returns a new instance of FlightInvoiceOCRRequest.
3611 3612 3613 3614 3615 3616 |
# File 'lib/v20181119/models.rb', line 3611 def initialize(imagebase64=nil, imageurl=nil, ispdf=nil, pdfpagenumber=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @IsPdf = ispdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#ImageBase64 ⇒ Object
3609 3610 3611 |
# File 'lib/v20181119/models.rb', line 3609 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
3609 3610 3611 |
# File 'lib/v20181119/models.rb', line 3609 def ImageUrl @ImageUrl end |
#IsPdf ⇒ Object
3609 3610 3611 |
# File 'lib/v20181119/models.rb', line 3609 def IsPdf @IsPdf end |
#PdfPageNumber ⇒ Object
3609 3610 3611 |
# File 'lib/v20181119/models.rb', line 3609 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
3618 3619 3620 3621 3622 3623 |
# File 'lib/v20181119/models.rb', line 3618 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @IsPdf = params['IsPdf'] @PdfPageNumber = params['PdfPageNumber'] end |