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.
8307 8308 8309 8310 8311 8312 |
# File 'lib/v20181119/models.rb', line 8307 def initialize(imagebase64=nil, imageurl=nil, ispdf=nil, pdfpagenumber=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @IsPdf = ispdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#ImageBase64 ⇒ Object
8305 8306 8307 |
# File 'lib/v20181119/models.rb', line 8305 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
8305 8306 8307 |
# File 'lib/v20181119/models.rb', line 8305 def ImageUrl @ImageUrl end |
#IsPdf ⇒ Object
8305 8306 8307 |
# File 'lib/v20181119/models.rb', line 8305 def IsPdf @IsPdf end |
#PdfPageNumber ⇒ Object
8305 8306 8307 |
# File 'lib/v20181119/models.rb', line 8305 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
8314 8315 8316 8317 8318 8319 |
# File 'lib/v20181119/models.rb', line 8314 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @IsPdf = params['IsPdf'] @PdfPageNumber = params['PdfPageNumber'] end |