Class: TencentCloud::Ocr::V20181119::SealOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::SealOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
SealOCR请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil, enablepdf = nil, pdfpagenumber = nil) ⇒ SealOCRRequest
constructor
A new instance of SealOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil, enablepdf = nil, pdfpagenumber = nil) ⇒ SealOCRRequest
Returns a new instance of SealOCRRequest.
10607 10608 10609 10610 10611 10612 |
# File 'lib/v20181119/models.rb', line 10607 def initialize(imagebase64=nil, imageurl=nil, enablepdf=nil, pdfpagenumber=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @EnablePdf = enablepdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#EnablePdf ⇒ Object
10605 10606 10607 |
# File 'lib/v20181119/models.rb', line 10605 def EnablePdf @EnablePdf end |
#ImageBase64 ⇒ Object
10605 10606 10607 |
# File 'lib/v20181119/models.rb', line 10605 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
10605 10606 10607 |
# File 'lib/v20181119/models.rb', line 10605 def ImageUrl @ImageUrl end |
#PdfPageNumber ⇒ Object
10605 10606 10607 |
# File 'lib/v20181119/models.rb', line 10605 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
10614 10615 10616 10617 10618 10619 |
# File 'lib/v20181119/models.rb', line 10614 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @EnablePdf = params['EnablePdf'] @PdfPageNumber = params['PdfPageNumber'] end |