public class FileResponse extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
FileResponse.UrlTypes |
Constructor and Description |
---|
FileResponse() |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
long |
getCreated() |
String |
getCreatedBy() |
String |
getId() |
String |
getName() |
int |
getSize() |
Map<String,String> |
getUrls() |
void |
setContentType(String contentType) |
void |
setCreated(long created) |
void |
setCreatedBy(String createdBy) |
void |
setId(String id) |
void |
setName(String name) |
void |
setSize(int size) |
void |
setUrls(Map<String,String> urls) |
public String getId()
public void setId(String id)
id
- String ID of the filepublic String getName()
public void setName(String name)
name
- file's namepublic int getSize()
public void setSize(int size)
size
- of the file in bytespublic Map<String,String> getUrls()
public void setUrls(Map<String,String> urls)
urls
- for the file's metadata, noredirect_download,
redirect_downloadpublic long getCreated()
public void setCreated(long created)
created
- timestamp for when the file was added to the spacepublic String getCreatedBy()
public void setCreatedBy(String createdBy)
createdBy
- String id of the user who added the file to the spacepublic String getContentType()
public void setContentType(String contentType)
contentType
- for the fileCopyright © 2018 OpenNTF. All rights reserved.