Class: TencentCloud::Ocr::V20181119::ShipInvoiceOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::ShipInvoiceOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
ShipInvoiceOCR请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ ShipInvoiceOCRRequest
constructor
A new instance of ShipInvoiceOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ ShipInvoiceOCRRequest
Returns a new instance of ShipInvoiceOCRRequest.
10714 10715 10716 10717 10718 10719 |
# File 'lib/v20181119/models.rb', line 10714 def initialize(imagebase64=nil, imageurl=nil, ispdf=nil, pdfpagenumber=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @IsPdf = ispdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#ImageBase64 ⇒ Object
10712 10713 10714 |
# File 'lib/v20181119/models.rb', line 10712 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
10712 10713 10714 |
# File 'lib/v20181119/models.rb', line 10712 def ImageUrl @ImageUrl end |
#IsPdf ⇒ Object
10712 10713 10714 |
# File 'lib/v20181119/models.rb', line 10712 def IsPdf @IsPdf end |
#PdfPageNumber ⇒ Object
10712 10713 10714 |
# File 'lib/v20181119/models.rb', line 10712 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
10721 10722 10723 10724 10725 10726 |
# File 'lib/v20181119/models.rb', line 10721 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @IsPdf = params['IsPdf'] @PdfPageNumber = params['PdfPageNumber'] end |