Class: TencentCloud::Ocr::V20181119::DutyPaidProofOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::DutyPaidProofOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
DutyPaidProofOCR请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ DutyPaidProofOCRRequest
constructor
A new instance of DutyPaidProofOCRRequest.
Constructor Details
#initialize(imagebase64 = nil, imageurl = nil, ispdf = nil, pdfpagenumber = nil) ⇒ DutyPaidProofOCRRequest
Returns a new instance of DutyPaidProofOCRRequest.
1922 1923 1924 1925 1926 1927 |
# File 'lib/v20181119/models.rb', line 1922 def initialize(imagebase64=nil, imageurl=nil, ispdf=nil, pdfpagenumber=nil) @ImageBase64 = imagebase64 @ImageUrl = imageurl @IsPdf = ispdf @PdfPageNumber = pdfpagenumber end |
Instance Attribute Details
#ImageBase64 ⇒ Object
1920 1921 1922 |
# File 'lib/v20181119/models.rb', line 1920 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
1920 1921 1922 |
# File 'lib/v20181119/models.rb', line 1920 def ImageUrl @ImageUrl end |
#IsPdf ⇒ Object
1920 1921 1922 |
# File 'lib/v20181119/models.rb', line 1920 def IsPdf @IsPdf end |
#PdfPageNumber ⇒ Object
1920 1921 1922 |
# File 'lib/v20181119/models.rb', line 1920 def PdfPageNumber @PdfPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
1929 1930 1931 1932 1933 1934 |
# File 'lib/v20181119/models.rb', line 1929 def deserialize(params) @ImageBase64 = params['ImageBase64'] @ImageUrl = params['ImageUrl'] @IsPdf = params['IsPdf'] @PdfPageNumber = params['PdfPageNumber'] end |