public class StorageDeviceMetadataDto 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 |
|---|
StorageDeviceMetadataDto() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType() |
int |
getDefaultManagementPort()
The default port of the management API of the device
|
int |
getDefaultServicePort()
The default service port of where the device listens
|
String |
getMediaType() |
String |
getType()
The storage technology type of the storage device
|
boolean |
isRequiresAuthentication()
Boolean indicating if the storage device requires authentication
|
void |
setDefaultManagementPort(int defaultManagementPort) |
void |
setDefaultServicePort(int defaultServicePort) |
void |
setRequiresAuthentication(boolean requiresAuthentication) |
void |
setType(String type) |
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 String getType()
public void setType(String type)
public boolean isRequiresAuthentication()
public void setRequiresAuthentication(boolean requiresAuthentication)
public int getDefaultManagementPort()
public void setDefaultManagementPort(int defaultManagementPort)
public int getDefaultServicePort()
public void setDefaultServicePort(int defaultServicePort)
public String getMediaType()
getMediaType in class SingleResourceTransportDtopublic String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtoCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.