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 Configuration information for creating a document parsing task.
|
String |
getFileBase64()
Get The base64 value of the file.
|
Long |
getFileEndPageNumber()
Get When type of the uploaded file is pdf, doc, docx, orppt, pptx, it specifies the end page number for file recognition, including the current value.
|
Long |
getFileStartPageNumber()
Get When type of the uploaded file is pdf, doc, docx, ppt, or pptx, it specifies the starting page number for file recognition, including the current value.
|
String |
getFileType()
Get File type.
|
String |
getFileUrl()
Get
|
void |
setConfig(CreateReconstructDocumentFlowConfig Config)
Set Configuration information for creating a document parsing task.
|
void |
setFileBase64(String FileBase64)
Set The base64 value of the file.
|
void |
setFileEndPageNumber(Long FileEndPageNumber)
Set When type of the uploaded file is pdf, doc, docx, orppt, pptx, it specifies the end page number for file recognition, including the current value.
|
void |
setFileStartPageNumber(Long FileStartPageNumber)
Set When type of the uploaded file is pdf, doc, docx, ppt, or pptx, it specifies the starting page number for file recognition, including the current value.
|
void |
setFileType(String FileType)
Set File type.
|
void |
setFileUrl(String FileUrl)
Set
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, 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, ppt, pptx, md, txt, xls, xlsx, csv, png, jpg, jpeg, bmp, gif, webp, heic, eps, icns, im, pcx, ppm, tiff, xbm, heif, jp2.public String getFileBase64()
public void setFileBase64(String FileBase64)
FileBase64
- The base64 value of the file. File size limit: the downloaded file does not exceed 8m 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 String getFileUrl()
File URL. The file download time does not exceed 15 seconds. Supported image pixels: the length of a single side is between 20-10000px. 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. The downloaded file shall not exceed the supported file size after Base64 encoding:
File Type | Supported File Size |
200M | |
DOC | 200M |
DOCX | 200M |
PPT | 200M |
PPTX | 200M |
MD | 10M |
TXT | 10M |
XLS | 20M |
XLSX | 20M |
CSV | 20M |
PNG | 20M |
JPG | 20M |
JPEG | 20M |
BMP | 20M |
GIF | 20M |
WEBP | 20M |
HEIC | 20M |
EPS | 20M |
ICNS | 20M |
IM | 20M |
PCX | 20M |
PPM | 20M |
TIFF | 20M |
XBM | 20M |
HEIF | 20M |
JP2 | 20M |
File URL. The file download time does not exceed 15 seconds. Supported image pixels: the length of a single side is between 20-10000px. 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. The downloaded file shall not exceed the supported file size after Base64 encoding:
File Type | Supported File Size |
200M | |
DOC | 200M |
DOCX | 200M |
PPT | 200M |
PPTX | 200M |
MD | 10M |
TXT | 10M |
XLS | 20M |
XLSX | 20M |
CSV | 20M |
PNG | 20M |
JPG | 20M |
JPEG | 20M |
BMP | 20M |
GIF | 20M |
WEBP | 20M |
HEIC | 20M |
EPS | 20M |
ICNS | 20M |
IM | 20M |
PCX | 20M |
PPM | 20M |
TIFF | 20M |
XBM | 20M |
HEIF | 20M |
JP2 | 20M |
public void setFileUrl(String FileUrl)
File URL. The file download time does not exceed 15 seconds. Supported image pixels: the length of a single side is between 20-10000px. 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. The downloaded file shall not exceed the supported file size after Base64 encoding:
File Type | Supported File Size |
200M | |
DOC | 200M |
DOCX | 200M |
PPT | 200M |
PPTX | 200M |
MD | 10M |
TXT | 10M |
XLS | 20M |
XLSX | 20M |
CSV | 20M |
PNG | 20M |
JPG | 20M |
JPEG | 20M |
BMP | 20M |
GIF | 20M |
WEBP | 20M |
HEIC | 20M |
EPS | 20M |
ICNS | 20M |
IM | 20M |
PCX | 20M |
PPM | 20M |
TIFF | 20M |
XBM | 20M |
HEIF | 20M |
JP2 | 20M |
FileUrl
- File URL. The file download time does not exceed 15 seconds. Supported image pixels: the length of a single side is between 20-10000px. 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. The downloaded file shall not exceed the supported file size after Base64 encoding:
File Type | Supported File Size |
200M | |
DOC | 200M |
DOCX | 200M |
PPT | 200M |
PPTX | 200M |
MD | 10M |
TXT | 10M |
XLS | 20M |
XLSX | 20M |
CSV | 20M |
PNG | 20M |
JPG | 20M |
JPEG | 20M |
BMP | 20M |
GIF | 20M |
WEBP | 20M |
HEIC | 20M |
EPS | 20M |
ICNS | 20M |
IM | 20M |
PCX | 20M |
PPM | 20M |
TIFF | 20M |
XBM | 20M |
HEIF | 20M |
JP2 | 20M |
public Long getFileStartPageNumber()
public void setFileStartPageNumber(Long FileStartPageNumber)
FileStartPageNumber
- When type of the uploaded file is pdf, doc, docx, ppt, or pptx, it specifies the starting page number for file recognition, including the current value. The default is 1, indicating recognition starts from the first page of the file.public Long getFileEndPageNumber()
public void setFileEndPageNumber(Long FileEndPageNumber)
FileEndPageNumber
- When type of the uploaded file is pdf, doc, docx, orppt, pptx, it specifies the end page number for file recognition, including the current value. The default is 100, indicating recognition up to page 100 of the file. a single call supports recognition of up to 1000 pages, i.e., FileEndPageNumber-FileStartPageNumber should be no more than 1000.public CreateReconstructDocumentFlowConfig getConfig()
public void setConfig(CreateReconstructDocumentFlowConfig Config)
Config
- Configuration information for creating a document parsing task.Copyright © 2025. All rights reserved.