public class SaveDocRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
SaveDocRequest() |
SaveDocRequest(SaveDocRequest 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 |
---|---|
AttrLabelRefer[] |
getAttrLabels()
Get Label reference.
|
Long |
getAttrRange()
Get Applicable scope of labels: 1: all; 2: by conditional range.
|
String |
getBotBizId()
Get Application ID.
|
String |
getCateBizId()
Get Category ID.
|
String |
getCosHash()
Get Verify the consistency of the uploaded file on the cloud and the local file by validating the crc64 encoding in the cos_hash x-cos-hash-crc64ecma header.
After the COS is successfully uploaded, obtain it from the response header. |
String |
getCosUrl()
Get The cos path of the platform, consistent with the UploadPath parameter queried by the DescribeStorageCredential api.
|
DuplicateFileHandle[] |
getDuplicateFileHandles()
Get
|
String |
getETag()
Get ETag, short for entity tag, is an information tag that identifies the content of an object when it is created and can be used to check whether the content of the object has changed.
|
String |
getExpireEnd()
Get Effective end time, unix timestamp.
|
String |
getExpireStart()
Get Effective start time, unix timestamp.
|
String |
getFileName()
Get File name.
|
String |
getFileType()
Get File type (md|txt|docx|pdf|xlsx).
|
Boolean |
getIsDownload()
Get
|
Boolean |
getIsRefer()
Get Whether to reference a link.
|
Long |
getOpt()
Get Document operation type: 1: batch import (import Q&A pairs in batches); 2: document import (normally import a single document).
|
Long |
getReferUrlType()
Get External reference link type: 0: system link; 1: custom link.
|
String |
getSize()
Get File size.
|
Long |
getSource()
Get Source (0: source file import; 1: web page import).
|
String |
getSplitRule()
Get
|
UpdatePeriodInfo |
getUpdatePeriodInfo()
Get
|
String |
getWebUrl()
Get Web page (or custom link) address.
|
void |
setAttrLabels(AttrLabelRefer[] AttrLabels)
Set Label reference.
|
void |
setAttrRange(Long AttrRange)
Set Applicable scope of labels: 1: all; 2: by conditional range.
|
void |
setBotBizId(String BotBizId)
Set Application ID.
|
void |
setCateBizId(String CateBizId)
Set Category ID.
|
void |
setCosHash(String CosHash)
Set Verify the consistency of the uploaded file on the cloud and the local file by validating the crc64 encoding in the cos_hash x-cos-hash-crc64ecma header.
After the COS is successfully uploaded, obtain it from the response header. |
void |
setCosUrl(String CosUrl)
Set The cos path of the platform, consistent with the UploadPath parameter queried by the DescribeStorageCredential api.
|
void |
setDuplicateFileHandles(DuplicateFileHandle[] DuplicateFileHandles)
Set
|
void |
setETag(String ETag)
Set ETag, short for entity tag, is an information tag that identifies the content of an object when it is created and can be used to check whether the content of the object has changed.
|
void |
setExpireEnd(String ExpireEnd)
Set Effective end time, unix timestamp.
|
void |
setExpireStart(String ExpireStart)
Set Effective start time, unix timestamp.
|
void |
setFileName(String FileName)
Set File name.
|
void |
setFileType(String FileType)
Set File type (md|txt|docx|pdf|xlsx).
|
void |
setIsDownload(Boolean IsDownload)
Set
|
void |
setIsRefer(Boolean IsRefer)
Set Whether to reference a link.
|
void |
setOpt(Long Opt)
Set Document operation type: 1: batch import (import Q&A pairs in batches); 2: document import (normally import a single document).
|
void |
setReferUrlType(Long ReferUrlType)
Set External reference link type: 0: system link; 1: custom link.
|
void |
setSize(String Size)
Set File size.
|
void |
setSource(Long Source)
Set Source (0: source file import; 1: web page import).
|
void |
setSplitRule(String SplitRule)
Set
|
void |
setUpdatePeriodInfo(UpdatePeriodInfo UpdatePeriodInfo)
Set
|
void |
setWebUrl(String WebUrl)
Set Web page (or custom link) address.
|
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 SaveDocRequest()
public SaveDocRequest(SaveDocRequest source)
public String getBotBizId()
public void setBotBizId(String BotBizId)
BotBizId
- Application ID.public String getFileName()
public void setFileName(String FileName)
FileName
- File name.public String getFileType()
public void setFileType(String FileType)
FileType
- File type (md|txt|docx|pdf|xlsx).public String getCosUrl()
public void setCosUrl(String CosUrl)
CosUrl
- The cos path of the platform, consistent with the UploadPath parameter queried by the DescribeStorageCredential api.public String getETag()
public void setETag(String ETag)
ETag
- ETag, short for entity tag, is an information tag that identifies the content of an object when it is created and can be used to check whether the content of the object has changed.public String getCosHash()
public void setCosHash(String CosHash)
CosHash
- Verify the consistency of the uploaded file on the cloud and the local file by validating the crc64 encoding in the cos_hash x-cos-hash-crc64ecma header.public String getSize()
public void setSize(String Size)
Size
- File size.public Long getAttrRange()
public void setAttrRange(Long AttrRange)
AttrRange
- Applicable scope of labels: 1: all; 2: by conditional range.public Long getSource()
public void setSource(Long Source)
Source
- Source (0: source file import; 1: web page import).public String getWebUrl()
public void setWebUrl(String WebUrl)
WebUrl
- Web page (or custom link) address.public AttrLabelRefer[] getAttrLabels()
public void setAttrLabels(AttrLabelRefer[] AttrLabels)
AttrLabels
- Label reference.public Long getReferUrlType()
public void setReferUrlType(Long ReferUrlType)
ReferUrlType
- External reference link type: 0: system link; 1: custom link.
When the value is 1, the weburl field cannot be empty; otherwise, it will not take effect.public String getExpireStart()
public void setExpireStart(String ExpireStart)
ExpireStart
- Effective start time, unix timestamp.public String getExpireEnd()
public void setExpireEnd(String ExpireEnd)
ExpireEnd
- Effective end time, unix timestamp. 0 indicates permanent validity.public Boolean getIsRefer()
public void setIsRefer(Boolean IsRefer)
IsRefer
- Whether to reference a link.public Long getOpt()
public void setOpt(Long Opt)
Opt
- Document operation type: 1: batch import (import Q&A pairs in batches); 2: document import (normally import a single document). The default value is 1.public String getCateBizId()
public void setCateBizId(String CateBizId)
CateBizId
- Category ID.public Boolean getIsDownload()
public void setIsDownload(Boolean IsDownload)
IsDownload
- public DuplicateFileHandle[] getDuplicateFileHandles()
public void setDuplicateFileHandles(DuplicateFileHandle[] DuplicateFileHandles)
DuplicateFileHandles
- public String getSplitRule()
public void setSplitRule(String SplitRule)
SplitRule
- public UpdatePeriodInfo getUpdatePeriodInfo()
public void setUpdatePeriodInfo(UpdatePeriodInfo UpdatePeriodInfo)
UpdatePeriodInfo
- Copyright © 2025. All rights reserved.