public class DiskManagementDto extends SingleResourceTransportDto
| Modifier and Type | Field and Description |
|---|---|
static String |
MEDIA_TYPE |
static String |
MEDIA_TYPE_JSON |
static String |
MEDIA_TYPE_XML |
static String |
REL_PREFIX |
static String |
SHORT_MEDIA_TYPE_JSON |
static String |
SHORT_MEDIA_TYPE_XML |
static String |
TYPE |
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 |
|---|
DiskManagementDto() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType() |
Integer |
getId() |
String |
getMediaType() |
Integer |
getSequence()
Sequence number of the disk into a virtual machine
|
Long |
getSizeInMb()
Disk size in MegaBytes
|
void |
setId(Integer id) |
void |
setSequence(Integer sequence) |
void |
setSizeInMb(Long sizeInMb) |
addEditLink, addLink, addLinks, getEditLink, getIdFromLink, getLinks, modifyLink, searchLink, searchLink, searchLinkByHref, searchLinks, setLinkspublic static final String TYPE
public 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 static final String REL_PREFIX
public void setSizeInMb(Long sizeInMb)
@NotNull public Long getSizeInMb()
public void setSequence(Integer sequence)
public Integer getSequence()
public String getMediaType()
getMediaType in class SingleResourceTransportDtopublic String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtopublic Integer getId()
public void setId(Integer id)
Copyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.