public class CreateReconstructDocumentFlowRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateReconstructDocumentFlowRequest() |
CreateReconstructDocumentFlowRequest(CreateReconstructDocumentFlowRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
CreateReconstructDocumentFlowConfig |
getConfig()
Get Creates task configuration information for document parsing.
|
String |
getFileBase64()
Get The base64 value of the file.
|
Long |
getFileEndPageNumber()
Get The end page number of the file.
|
Long |
getFileStartPageNumber()
Get The starting page number of the file.
|
String |
getFileType()
Get File type.
|
String |
getFileUrl()
Get File URL.
|
void |
setConfig(CreateReconstructDocumentFlowConfig Config)
Set Creates task configuration information for document parsing.
|
void |
setFileBase64(String FileBase64)
Set The base64 value of the file.
|
void |
setFileEndPageNumber(Long FileEndPageNumber)
Set The end page number of the file.
|
void |
setFileStartPageNumber(Long FileStartPageNumber)
Set The starting page number of the file.
|
void |
setFileType(String FileType)
Set File type.
|
void |
setFileUrl(String FileUrl)
Set File URL.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateReconstructDocumentFlowRequest()
public CreateReconstructDocumentFlowRequest(CreateReconstructDocumentFlowRequest source)
public String getFileType()
public void setFileType(String FileType)
FileType
- File type.
Supported file types**: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, MD, TXT, PNG, JPG, JPEG, CSV, HTML, EPUB, BMP, GIF, WEBP, HEIC, EPS, ICNS, IM, PCX, PPM, TIFF, XBM, HEIF, JP2.
Supported file sizes**:
- Max 100 MB for PDF.
- Max 200 MB for DOC, DOCX, PPT, and PPTX .
- Max 10 MB for MD, and TXT.
- Max 20 MB for others.public String getFileUrl()
public void setFileUrl(String FileUrl)
FileUrl
- File URL. It is recommended to store the file in Tencent Cloud as the URL where the file is stored in Tencent Cloud can ensure higher download speed and stability. External URL may affect the speed and stability. Refer to: [Tencent Cloud COS Documentation](https://cloud.tencent.com/document/product/436/7749)public String getFileBase64()
public void setFileBase64(String FileBase64)
FileBase64
- The base64 value of the file. Supported file types: PNG, JPG, JPEG, PDF, BMP, TIFF. File size limit: the downloaded file does not exceed 8MB after base64 encoding. File download time does not exceed 3 seconds. Supported image pixels: the length of a single side is between 20-10000px. Either FileUrl or FileBase64 of the file must be provided. If both are provided, only the FileUrl is used.public Long getFileStartPageNumber()
public void setFileStartPageNumber(Long FileStartPageNumber)
FileStartPageNumber
- The starting page number of the file. When type of the uploaded file is pdf, doc, ppt, or pptx, it specifies the starting page number for recognition, including the current value.public Long getFileEndPageNumber()
public void setFileEndPageNumber(Long FileEndPageNumber)
FileEndPageNumber
- The end page number of the file. When type of the uploaded file is pdf, doc, ppt, or pptx, it specifies the end page number for recognition, including the current value.public CreateReconstructDocumentFlowConfig getConfig()
public void setConfig(CreateReconstructDocumentFlowConfig Config)
Config
- Creates task configuration information for document parsing.Copyright © 2025. All rights reserved.