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