Class: TencentCloud::Ocr::V20181119::TollInvoiceOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::TollInvoiceOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
TollInvoiceOCR请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ TollInvoiceOCRRequest
constructor
A new instance of TollInvoiceOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ TollInvoiceOCRRequest
Returns a new instance of TollInvoiceOCRRequest.
12901 12902 12903 12904 12905 12906 |
# File 'lib/v20181119/models.rb', line 12901 def initialize(imagebase64=nil, imageurl=nil, ispdf=nil, pdfpagenumber=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @IsPdf = ispdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#ImageBase64 ⇒ Object
12899 12900 12901 |
# File 'lib/v20181119/models.rb', line 12899 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
12899 12900 12901 |
# File 'lib/v20181119/models.rb', line 12899 def ImageUrl @ImageUrl end |
#IsPdf ⇒ Object
12899 12900 12901 |
# File 'lib/v20181119/models.rb', line 12899 def IsPdf @IsPdf end |
#PdfPageNumber ⇒ Object
12899 12900 12901 |
# File 'lib/v20181119/models.rb', line 12899 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
12908 12909 12910 12911 12912 12913 |
# File 'lib/v20181119/models.rb', line 12908 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @IsPdf = params['IsPdf'] @PdfPageNumber = params['PdfPageNumber'] end |