Class: TencentCloud::Ocr::V20181119::VatRollInvoiceOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::VatRollInvoiceOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
VatRollInvoiceOCR请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ VatRollInvoiceOCRRequest
constructor
A new instance of VatRollInvoiceOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ VatRollInvoiceOCRRequest
Returns a new instance of VatRollInvoiceOCRRequest.
14488 14489 14490 14491 14492 14493 |
# File 'lib/v20181119/models.rb', line 14488 def initialize(imagebase64=nil, imageurl=nil, ispdf=nil, pdfpagenumber=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @IsPdf = ispdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#ImageBase64 ⇒ Object
14486 14487 14488 |
# File 'lib/v20181119/models.rb', line 14486 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
14486 14487 14488 |
# File 'lib/v20181119/models.rb', line 14486 def ImageUrl @ImageUrl end |
#IsPdf ⇒ Object
14486 14487 14488 |
# File 'lib/v20181119/models.rb', line 14486 def IsPdf @IsPdf end |
#PdfPageNumber ⇒ Object
14486 14487 14488 |
# File 'lib/v20181119/models.rb', line 14486 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
14495 14496 14497 14498 14499 14500 |
# File 'lib/v20181119/models.rb', line 14495 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @IsPdf = params['IsPdf'] @PdfPageNumber = params['PdfPageNumber'] end |