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 The 32-bit MD5 checksum of the file
|
Long |
getSize()
Get The file size
|
String |
getUrl()
Get The URL for downloading the file
|
void |
setMD5(String MD5)
Set The 32-bit MD5 checksum of the file
|
void |
setSize(Long Size)
Set The file size
|
void |
setUrl(String Url)
Set The URL for downloading the file
|
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
- The URL for downloading the filepublic String getMD5()
public void setMD5(String MD5)
MD5
- The 32-bit MD5 checksum of the filepublic Long getSize()
public void setSize(Long Size)
Size
- The file sizeCopyright © 2023. All rights reserved.