Class: TencentCloud::Ocr::V20181119::QuotaInvoiceOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::QuotaInvoiceOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
QuotaInvoiceOCR请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ QuotaInvoiceOCRRequest
constructor
A new instance of QuotaInvoiceOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ QuotaInvoiceOCRRequest
Returns a new instance of QuotaInvoiceOCRRequest.
8451 8452 8453 8454 8455 8456 |
# File 'lib/v20181119/models.rb', line 8451 def initialize(imagebase64=nil, imageurl=nil, ispdf=nil, pdfpagenumber=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @IsPdf = ispdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#ImageBase64 ⇒ Object
8449 8450 8451 |
# File 'lib/v20181119/models.rb', line 8449 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
8449 8450 8451 |
# File 'lib/v20181119/models.rb', line 8449 def ImageUrl @ImageUrl end |
#IsPdf ⇒ Object
8449 8450 8451 |
# File 'lib/v20181119/models.rb', line 8449 def IsPdf @IsPdf end |
#PdfPageNumber ⇒ Object
8449 8450 8451 |
# File 'lib/v20181119/models.rb', line 8449 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
8458 8459 8460 8461 8462 8463 |
# File 'lib/v20181119/models.rb', line 8458 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @IsPdf = params['IsPdf'] @PdfPageNumber = params['PdfPageNumber'] end |