public class DatastoreDto extends SingleResourceTransportDto implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
MEDIA_TYPE |
static String |
MEDIA_TYPE_JSON |
static String |
MEDIA_TYPE_XML |
static String |
SHORT_MEDIA_TYPE_JSON |
static String |
SHORT_MEDIA_TYPE_XML |
API_VERSION, API_VERSION_20, API_VERSION_22, API_VERSION_23, API_VERSION_24, API_VERSION_26, API_VERSION_27, API_VERSION_28, API_VERSION_29, APPLICATION, editLink, JSON, links, VERSION_PARAM, XML| Constructor and Description |
|---|
DatastoreDto() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType() |
String |
getDatastoreUUID()
Unique identifier of the physical datastore
|
String |
getDirectory()
Direcotry of the datastore
|
Integer |
getId()
Identifier of the datastore
|
String |
getMediaType() |
String |
getName()
Name of the datastore
|
String |
getRootPath()
Path to the root of the datastore
|
long |
getSize()
Size of the datastore
|
long |
getUsedSize()
Used size of the datastore
|
boolean |
isEnabled()
Indicates if the datastore is enabled to be used or not
|
void |
setDatastoreUUID(String datastoreUUID) |
void |
setDirectory(String directory) |
void |
setEnabled(boolean enabled) |
void |
setId(Integer id) |
void |
setName(String name) |
void |
setRootPath(String rootPath) |
void |
setSize(long size) |
void |
setUsedSize(long usedSize) |
addEditLink, addLink, addLinks, getEditLink, getIdFromLink, getLinks, modifyLink, searchLink, searchLink, searchLinkByHref, searchLinks, setLinkspublic static final String MEDIA_TYPE
public static final String SHORT_MEDIA_TYPE_JSON
public static final String SHORT_MEDIA_TYPE_XML
public static final String MEDIA_TYPE_XML
public static final String MEDIA_TYPE_JSON
public Integer getId()
public void setId(Integer id)
@NotNull public String getName()
public void setName(String name)
public String getDirectory()
public void setDirectory(String directory)
@NotNull public String getRootPath()
public void setRootPath(String rootPath)
@NotNull public long getSize()
public void setSize(long size)
@NotNull public long getUsedSize()
public void setUsedSize(long usedSize)
@NotNull public boolean isEnabled()
public void setEnabled(boolean enabled)
public void setDatastoreUUID(String datastoreUUID)
@NotNull public String getDatastoreUUID()
public String getMediaType()
getMediaType in class SingleResourceTransportDtopublic String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtoCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.