public class DhcpOptionDto 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 |
|---|
DhcpOptionDto() |
DhcpOptionDto(Integer id,
int option,
String gateway,
String networkAddress,
Integer mask,
String netmask) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType() |
String |
getGateway()
Gateway of the static route
|
Integer |
getId()
Identifier of the entity
|
Integer |
getMask()
Mask of the network of the static route in integer mode
|
String |
getMediaType() |
String |
getNetmask()
Mask of the network in 'xxx.xxx.xxx.xxx' format
|
String |
getNetworkAddress()
Network address of the static route
|
int |
getOption()
The integer value that defines the option
|
void |
setGateway(String gateway) |
void |
setId(Integer id) |
void |
setMask(Integer mask) |
void |
setNetmask(String netmask) |
void |
setNetworkAddress(String networkAddress) |
void |
setOption(int option) |
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 DhcpOptionDto(Integer id, int option, String gateway, String networkAddress, Integer mask, String netmask)
public DhcpOptionDto()
public Integer getId()
public void setId(Integer id)
@NotNull public String getGateway()
public void setGateway(String gateway)
@NotNull public String getNetworkAddress()
public void setNetworkAddress(String networkAddress)
@NotNull public Integer getMask()
public void setMask(Integer mask)
@NotNull public String getNetmask()
public void setNetmask(String netmask)
@NotNull public int getOption()
public void setOption(int option)
public String getMediaType()
getMediaType in class SingleResourceTransportDtopublic String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtoCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.