Class: TencentCloud::Ocr::V20181119::ReconstructDocumentRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::ReconstructDocumentRequest
- Defined in:
- lib/v20181119/models.rb
Overview
ReconstructDocument请求参数结构体
Instance Attribute Summary collapse
-
#Config ⇒ Object
单次调用,最多支持10页pdf的智能识别。.
-
#FileBase64 ⇒ Object
单次调用,最多支持10页pdf的智能识别。.
-
#FileEndPageNumber ⇒ Object
单次调用,最多支持10页pdf的智能识别。.
-
#FileStartPageNumber ⇒ Object
单次调用,最多支持10页pdf的智能识别。.
-
#FileType ⇒ Object
单次调用,最多支持10页pdf的智能识别。.
-
#FileUrl ⇒ Object
单次调用,最多支持10页pdf的智能识别。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(filetype = nil, filebase64 = nil, fileurl = nil, filestartpagenumber = nil, fileendpagenumber = nil, config = nil) ⇒ ReconstructDocumentRequest
constructor
A new instance of ReconstructDocumentRequest.
Constructor Details
#initialize(filetype = nil, filebase64 = nil, fileurl = nil, filestartpagenumber = nil, fileendpagenumber = nil, config = nil) ⇒ ReconstructDocumentRequest
Returns a new instance of ReconstructDocumentRequest.
9726 9727 9728 9729 9730 9731 9732 9733 |
# File 'lib/v20181119/models.rb', line 9726 def initialize(filetype=nil, filebase64=nil, fileurl=nil, filestartpagenumber=nil, fileendpagenumber=nil, config=nil) @FileType = filetype @FileBase64 = filebase64 @FileUrl = fileurl @FileStartPageNumber = filestartpagenumber @FileEndPageNumber = fileendpagenumber @Config = config end |
Instance Attribute Details
#Config ⇒ Object
单次调用,最多支持10页pdf的智能识别。
9724 9725 9726 |
# File 'lib/v20181119/models.rb', line 9724 def Config @Config end |
#FileBase64 ⇒ Object
单次调用,最多支持10页pdf的智能识别。
9724 9725 9726 |
# File 'lib/v20181119/models.rb', line 9724 def FileBase64 @FileBase64 end |
#FileEndPageNumber ⇒ Object
单次调用,最多支持10页pdf的智能识别。
9724 9725 9726 |
# File 'lib/v20181119/models.rb', line 9724 def FileEndPageNumber @FileEndPageNumber end |
#FileStartPageNumber ⇒ Object
单次调用,最多支持10页pdf的智能识别。
9724 9725 9726 |
# File 'lib/v20181119/models.rb', line 9724 def FileStartPageNumber @FileStartPageNumber end |
#FileType ⇒ Object
单次调用,最多支持10页pdf的智能识别。
9724 9725 9726 |
# File 'lib/v20181119/models.rb', line 9724 def FileType @FileType end |
#FileUrl ⇒ Object
单次调用,最多支持10页pdf的智能识别。
9724 9725 9726 |
# File 'lib/v20181119/models.rb', line 9724 def FileUrl @FileUrl end |
Instance Method Details
#deserialize(params) ⇒ Object
9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 |
# File 'lib/v20181119/models.rb', line 9735 def deserialize(params) @FileType = params['FileType'] @FileBase64 = params['FileBase64'] @FileUrl = params['FileUrl'] @FileStartPageNumber = params['FileStartPageNumber'] @FileEndPageNumber = params['FileEndPageNumber'] unless params['Config'].nil? @Config = ReconstructDocumentConfig.new @Config.deserialize(params['Config']) end end |