Class: TencentCloud::Ocr::V20181119::VatInvoiceOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::VatInvoiceOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
VatInvoiceOCR请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ VatInvoiceOCRRequest
constructor
A new instance of VatInvoiceOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ VatInvoiceOCRRequest
Returns a new instance of VatInvoiceOCRRequest.
14192 14193 14194 14195 14196 14197 |
# File 'lib/v20181119/models.rb', line 14192 def initialize(imagebase64=nil, imageurl=nil, ispdf=nil, pdfpagenumber=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @IsPdf = ispdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#ImageBase64 ⇒ Object
14190 14191 14192 |
# File 'lib/v20181119/models.rb', line 14190 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
14190 14191 14192 |
# File 'lib/v20181119/models.rb', line 14190 def ImageUrl @ImageUrl end |
#IsPdf ⇒ Object
14190 14191 14192 |
# File 'lib/v20181119/models.rb', line 14190 def IsPdf @IsPdf end |
#PdfPageNumber ⇒ Object
14190 14191 14192 |
# File 'lib/v20181119/models.rb', line 14190 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
14199 14200 14201 14202 14203 14204 |
# File 'lib/v20181119/models.rb', line 14199 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @IsPdf = params['IsPdf'] @PdfPageNumber = params['PdfPageNumber'] end |