public class TierDto extends SingleResourceTransportDto
| Modifier and Type | Field and Description |
|---|---|
static String |
MEDIA_TYPE |
static String |
MEDIA_TYPE_22 |
static String |
MEDIA_TYPE_23 |
static String |
MEDIA_TYPE_24 |
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 |
|---|
TierDto() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType() |
String |
getDescription()
Description of the tier
|
boolean |
getEnabled()
True if the tier is enabled, false otherwise
|
Integer |
getId()
Identifier of the tier
|
String |
getMediaType() |
String |
getName()
Name of the tier
|
String |
getStorageAllocationPolicy() |
boolean |
isDefaultAllowed()
If tier is default allowed it will be allowed by default for the new enterprises
|
void |
setDefaultAllowed(boolean defaultAllowed) |
void |
setDescription(String description) |
void |
setEnabled(boolean enabled) |
void |
setId(Integer id) |
void |
setName(String name) |
void |
setStorageAllocationPolicy(String storageAllocationPolicy) |
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_22
public static final String MEDIA_TYPE_23
public static final String MEDIA_TYPE_24
public String getStorageAllocationPolicy()
public String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtopublic String getDescription()
@NotNull public boolean getEnabled()
public Integer getId()
public String getMediaType()
getMediaType in class SingleResourceTransportDto@NotNull public String getName()
@NotNull public boolean isDefaultAllowed()
public void setStorageAllocationPolicy(String storageAllocationPolicy)
public void setDefaultAllowed(boolean defaultAllowed)
public void setDescription(String description)
public void setEnabled(boolean enabled)
public void setId(Integer id)
public void setName(String name)
Copyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.