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.
10579 10580 10581 10582 10583 10584 |
# File 'lib/v20181119/models.rb', line 10579 def initialize(imagebase64=nil, imageurl=nil, enablepdf=nil, pdfpagenumber=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @EnablePdf = enablepdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#EnablePdf ⇒ Object
10577 10578 10579 |
# File 'lib/v20181119/models.rb', line 10577 def EnablePdf @EnablePdf end |
#ImageBase64 ⇒ Object
10577 10578 10579 |
# File 'lib/v20181119/models.rb', line 10577 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
10577 10578 10579 |
# File 'lib/v20181119/models.rb', line 10577 def ImageUrl @ImageUrl end |
#PdfPageNumber ⇒ Object
10577 10578 10579 |
# File 'lib/v20181119/models.rb', line 10577 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
10586 10587 10588 10589 10590 10591 |
# File 'lib/v20181119/models.rb', line 10586 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @EnablePdf = params['EnablePdf'] @PdfPageNumber = params['PdfPageNumber'] end |