public class TemplateDefinitionDto extends SingleResourceTransportDto
| 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 |
|---|
TemplateDefinitionDto() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType() |
String |
getDescription()
Description of the template definition
|
String |
getDiskController()
Controller implementation to use in disks.
|
DiskControllerType |
getDiskControllerType()
Kind of controller type (IDE or SCSI)
|
long |
getDiskFileSize()
The disk file size in MegaBytes of the disk file
|
String |
getDiskFormatType()
Disk format type of the disk file @see
DiskFormatType |
EthernetDriverType |
getEthernetDriverType()
Kind of network driver (PCNet32, VMXNET3 or E1000)
|
String |
getIconUrl()
The URI of the icon of the template definition
|
Integer |
getId()
Identifier of the template definition
|
String |
getLoginPassword()
Default login password
|
String |
getLoginUser()
Default login user
|
String |
getMediaType() |
String |
getName()
Name of the template definition
|
OSType |
getOsType()
Kind of Operating System
|
String |
getOsVersion()
Additional info for the ''osType''
|
String |
getProductName()
Additional info about the installed software
|
String |
getProductUrl()
Link to additional info about the installed software
|
String |
getProductVendor()
Additional info about the installed software
|
String |
getProductVersion()
Additional version info about the installed software
|
String |
getUrl()
URL of the source .ovf Envelope document.
|
void |
setDescription(String description) |
void |
setDiskController(String diskController) |
void |
setDiskControllerType(DiskControllerType diskControllerType) |
void |
setDiskFileSize(long diskFileSize) |
void |
setDiskFormatType(String type) |
void |
setEthernetDriverType(EthernetDriverType ethernetDriverType) |
void |
setIconUrl(String iconUrl) |
void |
setId(Integer id) |
void |
setLoginPassword(String loginPassword) |
void |
setLoginUser(String loginUser) |
void |
setName(String name) |
void |
setOsType(OSType osType) |
void |
setOsVersion(String osVersion) |
void |
setProductName(String productName) |
void |
setProductUrl(String productUrl) |
void |
setProductVendor(String productVendor) |
void |
setProductVersion(String productVersion) |
void |
setUrl(String url) |
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
@NotNull public String getDescription()
public DiskControllerType getDiskControllerType()
*NOTE* not all the hypervisor plugins will use this info
public String getDiskController()
@NotNull public long getDiskFileSize()
@NotNull public String getDiskFormatType()
DiskFormatTypepublic EthernetDriverType getEthernetDriverType()
*NOTE* not all the hypervisor plugins will use this info. By default all use E1000
public String getIconUrl()
@NotNull public Integer getId()
public String getLoginPassword()
public String getLoginUser()
@NotNull public String getName()
public OSType getOsType()
public String getOsVersion()
public String getProductName()
public String getProductUrl()
public String getProductVendor()
public String getProductVersion()
@NotNull public String getUrl()
public void setDescription(String description)
public void setDiskControllerType(DiskControllerType diskControllerType)
public void setDiskController(String diskController)
public void setDiskFileSize(long diskFileSize)
public void setDiskFormatType(String type)
public void setEthernetDriverType(EthernetDriverType ethernetDriverType)
public void setIconUrl(String iconUrl)
public void setId(Integer id)
public void setLoginPassword(String loginPassword)
public void setLoginUser(String loginUser)
public void setName(String name)
public void setOsType(OSType osType)
public void setOsVersion(String osVersion)
public void setProductName(String productName)
public void setProductUrl(String productUrl)
public void setProductVendor(String productVendor)
public void setProductVersion(String productVersion)
public void setUrl(String url)
public String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtopublic String getMediaType()
getMediaType in class SingleResourceTransportDtoCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.