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 创建文档解析任务配置信息。
|
String |
getFileBase64()
Get 文件的 Base64 值。支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。支持的图片像素:单边介于20-10000px之间。文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。
|
Long |
getFileEndPageNumber()
Get 当传入文件类型为PDF、DOC、DOCX、PPT、PPTX,用来指定文件识别的结束页码,识别的页码包含当前值。默认为100,表示识别到文件的第100页。单次调用最多支持识别1000页内容,即FileEndPageNumber-FileStartPageNumber需要不大于1000。
|
Long |
getFileStartPageNumber()
Get 当传入文件类型为PDF、DOC、DOCX、PPT、PPTX,用来指定文件识别的起始页码,识别的页码包含当前值。默认为1,表示从文件的第1页开始识别。
|
String |
getFileType()
Get 文件类型。支持的文件类型: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。
|
String |
getFileUrl()
Get
|
void |
setConfig(CreateReconstructDocumentFlowConfig Config)
Set 创建文档解析任务配置信息。
|
void |
setFileBase64(String FileBase64)
Set 文件的 Base64 值。支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。支持的图片像素:单边介于20-10000px之间。文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。
|
void |
setFileEndPageNumber(Long FileEndPageNumber)
Set 当传入文件类型为PDF、DOC、DOCX、PPT、PPTX,用来指定文件识别的结束页码,识别的页码包含当前值。默认为100,表示识别到文件的第100页。单次调用最多支持识别1000页内容,即FileEndPageNumber-FileStartPageNumber需要不大于1000。
|
void |
setFileStartPageNumber(Long FileStartPageNumber)
Set 当传入文件类型为PDF、DOC、DOCX、PPT、PPTX,用来指定文件识别的起始页码,识别的页码包含当前值。默认为1,表示从文件的第1页开始识别。
|
void |
setFileType(String FileType)
Set 文件类型。支持的文件类型: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。
|
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, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateReconstructDocumentFlowRequest()
public CreateReconstructDocumentFlowRequest(CreateReconstructDocumentFlowRequest source)
public String getFileType()
public void setFileType(String FileType)
FileType
- 文件类型。支持的文件类型: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
- 文件的 Base64 值。支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。支持的图片像素:单边介于20-10000px之间。文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。public String getFileUrl()
文件的Url地址。文件下载时间不超过15秒。支持的图片像素:单边介于20-10000px之间。文件存储于腾讯云的Url可保障更高的下载速度和稳定性,建议文件存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。所下载文件经 Base64 编码后不超过支持的文件大小:
文件类型 | 支持的文件大小 |
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 |
文件的Url地址。文件下载时间不超过15秒。支持的图片像素:单边介于20-10000px之间。文件存储于腾讯云的Url可保障更高的下载速度和稳定性,建议文件存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。所下载文件经 Base64 编码后不超过支持的文件大小:
文件类型 | 支持的文件大小 |
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)
文件的Url地址。文件下载时间不超过15秒。支持的图片像素:单边介于20-10000px之间。文件存储于腾讯云的Url可保障更高的下载速度和稳定性,建议文件存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。所下载文件经 Base64 编码后不超过支持的文件大小:
文件类型 | 支持的文件大小 |
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
- 文件的Url地址。文件下载时间不超过15秒。支持的图片像素:单边介于20-10000px之间。文件存储于腾讯云的Url可保障更高的下载速度和稳定性,建议文件存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。所下载文件经 Base64 编码后不超过支持的文件大小:
文件类型 | 支持的文件大小 |
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
- 当传入文件类型为PDF、DOC、DOCX、PPT、PPTX,用来指定文件识别的起始页码,识别的页码包含当前值。默认为1,表示从文件的第1页开始识别。public Long getFileEndPageNumber()
public void setFileEndPageNumber(Long FileEndPageNumber)
FileEndPageNumber
- 当传入文件类型为PDF、DOC、DOCX、PPT、PPTX,用来指定文件识别的结束页码,识别的页码包含当前值。默认为100,表示识别到文件的第100页。单次调用最多支持识别1000页内容,即FileEndPageNumber-FileStartPageNumber需要不大于1000。public CreateReconstructDocumentFlowConfig getConfig()
public void setConfig(CreateReconstructDocumentFlowConfig Config)
Config
- 创建文档解析任务配置信息。Copyright © 2024. All rights reserved.