Class UploadFile
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ess.v20201111.models.UploadFile
-
public class UploadFile extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description UploadFile()
UploadFile(UploadFile 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 String
getFileBody()
Get Base64编码后的文件内容String
getFileName()
Get 文件名,最大长度不超过200字符void
setFileBody(String FileBody)
Set Base64编码后的文件内容void
setFileName(String FileName)
Set 文件名,最大长度不超过200字符void
toMap(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
-
UploadFile
public UploadFile()
-
UploadFile
public UploadFile(UploadFile 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
-
getFileBody
public String getFileBody()
Get Base64编码后的文件内容- Returns:
- FileBody Base64编码后的文件内容
-
setFileBody
public void setFileBody(String FileBody)
Set Base64编码后的文件内容- Parameters:
FileBody
- Base64编码后的文件内容
-
getFileName
public String getFileName()
Get 文件名,最大长度不超过200字符- Returns:
- FileName 文件名,最大长度不超过200字符
-
setFileName
public void setFileName(String FileName)
Set 文件名,最大长度不超过200字符- Parameters:
FileName
- 文件名,最大长度不超过200字符
-
-