public class RackDto 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 |
|---|
RackDto() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType() |
Integer |
getId()
Identifier of the entity.
|
String |
getLongDescription()
Long description of the rack.
|
String |
getMediaType() |
String |
getName()
Name of the rack.
|
Integer |
getNrsq()
Specify the percentatge of new virtual datacenters tolerance in allocation.
|
String |
getShortDescription()
Short description of the rack.
|
Integer |
getVlanIdMax()
Maximum value of the tag of the VLANs allowed in the rack.
|
Integer |
getVlanIdMin()
Minimum value of the tag of the VLANs allowed in the rack.
|
Integer |
getVlanPerVdcReserved()
Deprecated field.
|
String |
getVlansIdAvoided()
List of tags avoided in the VLANs allowed in the rack.
|
boolean |
isHaEnabled()
HA enabled in the rack.
|
void |
setHaEnabled(boolean haEnabled)
Sets the ha enabled.
|
void |
setId(Integer id)
Sets the id.
|
void |
setLongDescription(String description)
Sets the long description.
|
void |
setName(String name)
Sets the name.
|
void |
setNrsq(Integer nrsq)
Sets the nrsq.
|
void |
setShortDescription(String description)
Sets the short description.
|
void |
setVlanIdMax(Integer vlanIdMax)
Sets the vlan id max.
|
void |
setVlanIdMin(Integer vlanIdMin)
Sets the vlan id min.
|
void |
setVlanPerVdcReserved(Integer vlanPerVdcReserved)
Sets the vlan per vdc reserved.
|
void |
setVlansIdAvoided(String vlansIdAvoided)
Sets the vlans id avoided.
|
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)
id - the new id@NotNull public String getName()
public void setName(String name)
name - the new namepublic String getShortDescription()
public void setShortDescription(String description)
description - the new short descriptionpublic String getLongDescription()
public void setLongDescription(String description)
description - the new long descriptionpublic Integer getVlanIdMin()
public void setVlanIdMin(Integer vlanIdMin)
vlanIdMin - the new vlan id minpublic Integer getVlanIdMax()
public void setVlanIdMax(Integer vlanIdMax)
vlanIdMax - the new vlan id maxpublic Integer getNrsq()
public void setNrsq(Integer nrsq)
nrsq - the new nrsqpublic String getVlansIdAvoided()
public void setVlansIdAvoided(String vlansIdAvoided)
vlansIdAvoided - the new vlans id avoidedpublic Integer getVlanPerVdcReserved()
public void setVlanPerVdcReserved(Integer vlanPerVdcReserved)
vlanPerVdcReserved - the new vlan per vdc reservedpublic boolean isHaEnabled()
public void setHaEnabled(boolean haEnabled)
haEnabled - the new ha enabledpublic String getMediaType()
getMediaType in class SingleResourceTransportDtopublic String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtoCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.