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.
10686 10687 10688 10689 10690 10691 |
# File 'lib/v20181119/models.rb', line 10686 def initialize(imagebase64=nil, imageurl=nil, ispdf=nil, pdfpagenumber=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @IsPdf = ispdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#ImageBase64 ⇒ Object
10684 10685 10686 |
# File 'lib/v20181119/models.rb', line 10684 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
10684 10685 10686 |
# File 'lib/v20181119/models.rb', line 10684 def ImageUrl @ImageUrl end |
#IsPdf ⇒ Object
10684 10685 10686 |
# File 'lib/v20181119/models.rb', line 10684 def IsPdf @IsPdf end |
#PdfPageNumber ⇒ Object
10684 10685 10686 |
# File 'lib/v20181119/models.rb', line 10684 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
10693 10694 10695 10696 10697 10698 |
# File 'lib/v20181119/models.rb', line 10693 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @IsPdf = params['IsPdf'] @PdfPageNumber = params['PdfPageNumber'] end |