Class ExtensionFileInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tcb.v20180608.models.ExtensionFileInfo
-
public class ExtensionFileInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCodeUri()Get 模板里使用的地址StringgetCustomKey()Get 自定义密钥。如果为空,则表示不需要加密LonggetMaxSize()Get 文件大小限制,单位M,客户端上传前需要主动检查文件大小,超过限制的文件会被删除。StringgetUploadUrl()Get 上传文件的临时地址,含签名voidsetCodeUri(String CodeUri)Set 模板里使用的地址voidsetCustomKey(String CustomKey)Set 自定义密钥。如果为空,则表示不需要加密voidsetMaxSize(Long MaxSize)Set 文件大小限制,单位M,客户端上传前需要主动检查文件大小,超过限制的文件会被删除。voidsetUploadUrl(String UploadUrl)Set 上传文件的临时地址,含签名voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ExtensionFileInfo
public ExtensionFileInfo()
-
ExtensionFileInfo
public 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.
-
-
Method Detail
-
getCodeUri
public String getCodeUri()
Get 模板里使用的地址- Returns:
- CodeUri 模板里使用的地址
-
setCodeUri
public void setCodeUri(String CodeUri)
Set 模板里使用的地址- Parameters:
CodeUri- 模板里使用的地址
-
getUploadUrl
public String getUploadUrl()
Get 上传文件的临时地址,含签名- Returns:
- UploadUrl 上传文件的临时地址,含签名
-
setUploadUrl
public void setUploadUrl(String UploadUrl)
Set 上传文件的临时地址,含签名- Parameters:
UploadUrl- 上传文件的临时地址,含签名
-
getCustomKey
public String getCustomKey()
Get 自定义密钥。如果为空,则表示不需要加密- Returns:
- CustomKey 自定义密钥。如果为空,则表示不需要加密
-
setCustomKey
public void setCustomKey(String CustomKey)
Set 自定义密钥。如果为空,则表示不需要加密- Parameters:
CustomKey- 自定义密钥。如果为空,则表示不需要加密
-
getMaxSize
public Long getMaxSize()
Get 文件大小限制,单位M,客户端上传前需要主动检查文件大小,超过限制的文件会被删除。- Returns:
- MaxSize 文件大小限制,单位M,客户端上传前需要主动检查文件大小,超过限制的文件会被删除。
-
setMaxSize
public void setMaxSize(Long MaxSize)
Set 文件大小限制,单位M,客户端上传前需要主动检查文件大小,超过限制的文件会被删除。- Parameters:
MaxSize- 文件大小限制,单位M,客户端上传前需要主动检查文件大小,超过限制的文件会被删除。
-
-