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.
3871 3872 3873 3874 3875 3876 |
# File 'lib/v20181119/models.rb', line 3871 def initialize(imagebase64=nil, imageurl=nil, ispdf=nil, pdfpagenumber=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @IsPdf = ispdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#ImageBase64 ⇒ Object
3869 3870 3871 |
# File 'lib/v20181119/models.rb', line 3869 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
3869 3870 3871 |
# File 'lib/v20181119/models.rb', line 3869 def ImageUrl @ImageUrl end |
#IsPdf ⇒ Object
3869 3870 3871 |
# File 'lib/v20181119/models.rb', line 3869 def IsPdf @IsPdf end |
#PdfPageNumber ⇒ Object
3869 3870 3871 |
# File 'lib/v20181119/models.rb', line 3869 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
3878 3879 3880 3881 3882 3883 |
# File 'lib/v20181119/models.rb', line 3878 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @IsPdf = params['IsPdf'] @PdfPageNumber = params['PdfPageNumber'] end |