public class FileInfo extends AbstractModel
Constructor and Description |
---|
FileInfo() |
FileInfo(FileInfo 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 |
getMD5()
Get 文件的32位MD5
|
Long |
getSize()
Get 文件字节数
|
String |
getUrl()
Get 用于下载文件的URL
|
void |
setMD5(String MD5)
Set 文件的32位MD5
|
void |
setSize(Long Size)
Set 文件字节数
|
void |
setUrl(String Url)
Set 用于下载文件的URL
|
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 FileInfo()
public FileInfo(FileInfo source)
public String getUrl()
public void setUrl(String Url)
Url
- 用于下载文件的URLpublic String getMD5()
public void setMD5(String MD5)
MD5
- 文件的32位MD5public Long getSize()
public void setSize(Long Size)
Size
- 文件字节数Copyright © 2022. All rights reserved.