public class UploadFile extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and 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.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public UploadFile()
public UploadFile(UploadFile source)
public String getFileBody()
public void setFileBody(String FileBody)
FileBody
- Base64编码后的文件内容public String getFileName()
public void setFileName(String FileName)
FileName
- 文件名,最大长度不超过200字符Copyright © 2022. All rights reserved.