public class StoragePoolDto extends SingleResourceTransportDto
| Modifier and Type | Field and Description |
|---|---|
protected long |
availableSizeInMb |
protected boolean |
enabled |
protected String |
idStorage |
protected Integer |
maxVolumes |
static String |
MEDIA_TYPE |
static String |
MEDIA_TYPE_24 |
static String |
MEDIA_TYPE_JSON |
static String |
MEDIA_TYPE_XML |
protected String |
name |
static String |
SHORT_MEDIA_TYPE_JSON |
static String |
SHORT_MEDIA_TYPE_XML |
protected long |
totalSizeInMb |
protected String |
type |
protected Integer |
usablePercent |
protected long |
usedSizeInMb |
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 |
|---|
StoragePoolDto() |
| Modifier and Type | Method and Description |
|---|---|
long |
getAvailableSizeInMb()
Available size in MB of the storage pool.
|
String |
getBaseMediaType() |
boolean |
getEnabled()
Returns true if the storage pool is enabled, false otherwise.
|
String |
getIdStorage()
Identifier of the entity.
|
Integer |
getMaxVolumes() |
String |
getMediaType() |
String |
getName()
Name of the storage pool.
|
long |
getTotalSizeInMb()
Total size in MB of the storage pool.
|
String |
getType()
The type of the storage pool, such as
ISCSI or NFS. |
Integer |
getUsablePercent() |
long |
getUsedSizeInMb()
Used size in MB of the storage pool.
|
void |
setAvailableSizeInMb(long availableSizeInMb) |
void |
setEnabled(boolean enabled) |
void |
setIdStorage(String idStorage) |
void |
setMaxVolumes(Integer maxVolumes) |
void |
setName(String name) |
void |
setTotalSizeInMb(long totalSizeInMb) |
void |
setType(String type) |
void |
setUsablePercent(Integer usablePercent) |
void |
setUsedSizeInMb(long usedSizeInMb) |
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 static final String MEDIA_TYPE_24
protected String idStorage
protected String name
protected long totalSizeInMb
protected long usedSizeInMb
protected long availableSizeInMb
protected boolean enabled
protected String type
protected Integer maxVolumes
protected Integer usablePercent
public String getIdStorage()
public void setIdStorage(String idStorage)
@NotNull public String getName()
public void setName(String name)
@NotNull public long getTotalSizeInMb()
public void setTotalSizeInMb(long totalSizeInMb)
@NotNull public long getUsedSizeInMb()
public void setUsedSizeInMb(long usedSizeInMb)
@NotNull public long getAvailableSizeInMb()
public void setAvailableSizeInMb(long availableSizeInMb)
public boolean getEnabled()
public void setEnabled(boolean enabled)
@NotNull public String getType()
ISCSI or NFS.public void setType(String type)
public String getMediaType()
getMediaType in class SingleResourceTransportDtopublic String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtopublic Integer getMaxVolumes()
public void setMaxVolumes(Integer maxVolumes)
public Integer getUsablePercent()
public void setUsablePercent(Integer usablePercent)
Copyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.