public class ExtensionFileInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ExtensionFileInfo() | 
| ExtensionFileInfo(ExtensionFileInfo 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 | 
|---|---|
| String | getCodeUri()Get 模板里使用的地址 | 
| String | getCustomKey()Get 自定义密钥。如果为空,则表示不需要加密。
参考cos预签名url上传https://cloud.tencent.com/document/product/436/36121
上传的时候要按照 SSE-C 的方式设置header:https://cloud.tencent.com/document/product/436/7728 | 
| Long | getMaxSize()Get 文件大小限制,单位M,客户端上传前需要主动检查文件大小,超过限制的文件会被删除。 | 
| String | getUploadUrl()Get 上传文件的临时地址,含签名 | 
| void | setCodeUri(String CodeUri)Set 模板里使用的地址 | 
| void | setCustomKey(String CustomKey)Set 自定义密钥。如果为空,则表示不需要加密。
参考cos预签名url上传https://cloud.tencent.com/document/product/436/36121
上传的时候要按照 SSE-C 的方式设置header:https://cloud.tencent.com/document/product/436/7728 | 
| void | setMaxSize(Long MaxSize)Set 文件大小限制,单位M,客户端上传前需要主动检查文件大小,超过限制的文件会被删除。 | 
| void | setUploadUrl(String UploadUrl)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, toJsonStringpublic ExtensionFileInfo()
public ExtensionFileInfo(ExtensionFileInfo source)
public String getCodeUri()
public void setCodeUri(String CodeUri)
CodeUri - 模板里使用的地址public String getUploadUrl()
public void setUploadUrl(String UploadUrl)
UploadUrl - 上传文件的临时地址,含签名public String getCustomKey()
public void setCustomKey(String CustomKey)
CustomKey - 自定义密钥。如果为空,则表示不需要加密。
参考cos预签名url上传https://cloud.tencent.com/document/product/436/36121
上传的时候要按照 SSE-C 的方式设置header:https://cloud.tencent.com/document/product/436/7728public Long getMaxSize()
public void setMaxSize(Long MaxSize)
MaxSize - 文件大小限制,单位M,客户端上传前需要主动检查文件大小,超过限制的文件会被删除。Copyright © 2025. All rights reserved.