public class RunlistElementDto extends SingleResourceTransportDto
| Modifier and Type | Field and Description |
|---|---|
static String |
MEDIA_TYPE |
static String |
MEDIA_TYPE_JSON |
static String |
MEDIA_TYPE_XML |
static String |
OLD_BASE_MEDIA_TYPE
Deprecated.
|
static String |
OLD_MEDIA_TYPE
Deprecated.
|
static String |
OLD_MEDIA_TYPE_JSON
Deprecated.
|
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 |
|---|
RunlistElementDto() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType() |
String |
getDescription()
The description of the runlist element.
|
String |
getMediaType() |
String |
getName()
The name of the runlist element.
|
int |
getPriority()
Order in which this runlist element should be applied.
|
boolean |
isSelected()
Boolean flag indicating if the runlist element is selected for the virtual machine.
|
void |
setDescription(String description)
Sets the description.
|
void |
setName(String name)
Sets the name.
|
void |
setPriority(int priority)
Sets the priority.
|
void |
setSelected(boolean selected)
Sets the selected.
|
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
@Deprecated public static final String OLD_BASE_MEDIA_TYPE
@Deprecated public static final String OLD_MEDIA_TYPE_JSON
@Deprecated public static final String OLD_MEDIA_TYPE
@NotNull public String getName()
public void setName(String name)
name - the new namepublic String getDescription()
public void setDescription(String description)
description - the new description@NotNull public boolean isSelected()
public void setSelected(boolean selected)
selected - the new selected@NotNull public int getPriority()
public void setPriority(int priority)
priority - the new prioritypublic String getMediaType()
getMediaType in class SingleResourceTransportDtopublic String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtoCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.