public class CreateSplitDocumentFlowRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateSplitDocumentFlowRequest() |
CreateSplitDocumentFlowRequest(CreateSplitDocumentFlowRequest 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 |
---|---|
CreateSplitDocumentFlowConfig |
getConfig()
Get Configuration message for document splitting task.
|
String |
getFileBase64()
Deprecated.
|
Long |
getFileEndPageNumber()
Get The end page number of the file.
|
String |
getFileName()
Get Filename.
|
Long |
getFileStartPageNumber()
Get The starting page number of the file.
|
String |
getFileType()
Get File type.
|
String |
getFileUrl()
Get File URL.
|
void |
setConfig(CreateSplitDocumentFlowConfig Config)
Set Configuration message for document splitting task.
|
void |
setFileBase64(String FileBase64)
Deprecated.
|
void |
setFileEndPageNumber(Long FileEndPageNumber)
Set The end page number of the file.
|
void |
setFileName(String FileName)
Set Filename.
|
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 CreateSplitDocumentFlowRequest()
public CreateSplitDocumentFlowRequest(CreateSplitDocumentFlowRequest 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.
Supported file sizes**:
- Max 500 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 getFileName()
public void setFileName(String FileName)
FileName
- Filename. optional.
The file type suffix shall be included**. This field is required to be specified when the file name cannot be obtained from the passed-in "FileUrl".@Deprecated public String getFileBase64()
@Deprecated public void setFileBase64(String FileBase64)
FileBase64
- The base64 value of the file. File size limit: the downloaded file shall 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 CreateSplitDocumentFlowConfig getConfig()
public void setConfig(CreateSplitDocumentFlowConfig Config)
Config
- Configuration message for document splitting task.Copyright © 2025. All rights reserved.