Class: TencentCloud::Ocr::V20181119::CarInvoiceOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::CarInvoiceOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
CarInvoiceOCR请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ CarInvoiceOCRRequest
constructor
A new instance of CarInvoiceOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ CarInvoiceOCRRequest
Returns a new instance of CarInvoiceOCRRequest.
1236 1237 1238 1239 1240 1241 |
# File 'lib/v20181119/models.rb', line 1236 def initialize(imagebase64=nil, imageurl=nil, ispdf=nil, pdfpagenumber=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @IsPdf = ispdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#ImageBase64 ⇒ Object
1234 1235 1236 |
# File 'lib/v20181119/models.rb', line 1234 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
1234 1235 1236 |
# File 'lib/v20181119/models.rb', line 1234 def ImageUrl @ImageUrl end |
#IsPdf ⇒ Object
1234 1235 1236 |
# File 'lib/v20181119/models.rb', line 1234 def IsPdf @IsPdf end |
#PdfPageNumber ⇒ Object
1234 1235 1236 |
# File 'lib/v20181119/models.rb', line 1234 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
1243 1244 1245 1246 1247 1248 |
# File 'lib/v20181119/models.rb', line 1243 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @IsPdf = params['IsPdf'] @PdfPageNumber = params['PdfPageNumber'] end |