public class ScopeDto 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 |
|---|
ScopeDto() |
ScopeDto(String name,
Integer idScope) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType() |
Integer |
getId()
The id of the entity
|
String |
getMediaType() |
String |
getName()
Name of the scope, name "Global scope" is reserved for default scope
|
List<ScopeEntityDto> |
getScopeEntities()
All limit entities of a scope
|
boolean |
isAutomaticAddDatacenter()
true if all new datacenters created are added into this scope
|
boolean |
isAutomaticAddEnterprise()
true if all new enterprises created are added into this scope
|
void |
setAutomaticAddDatacenter(boolean automaticAddDatacenter) |
void |
setAutomaticAddEnterprise(boolean automaticAddEnterprise) |
void |
setId(Integer id) |
void |
setName(String name) |
void |
setScopeEntities(List<ScopeEntityDto> scopes) |
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)
public String getName()
public void setName(String name)
public String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtopublic String getMediaType()
getMediaType in class SingleResourceTransportDtopublic void setScopeEntities(List<ScopeEntityDto> scopes)
public List<ScopeEntityDto> getScopeEntities()
public void setAutomaticAddDatacenter(boolean automaticAddDatacenter)
public boolean isAutomaticAddDatacenter()
public void setAutomaticAddEnterprise(boolean automaticAddEnterprise)
public boolean isAutomaticAddEnterprise()
Copyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.