public class UserDto extends SingleResourceTransportDto implements Expandable<PrivilegeDto>
| 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 |
|---|
UserDto() |
UserDto(String name,
String surname,
String email,
String nick,
String password,
String locale,
String description)
Deprecated.
|
UserDto(String name,
String surname,
String email,
String nick,
String password,
String locale,
String description,
String authType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthType()
Auth type selected for this user: Abiquo managed or LDAP
AuthType value. |
String |
getAvailableVirtualDatacenters()
List with restricted VDCs for this user separated by commas
|
String |
getBaseMediaType() |
String |
getDescription()
A short description of the user
|
String |
getEmail()
The contact e-mail address of the user for Abiquo messages
|
PrivilegesDto |
getExpands()
This representation might include privileges.
|
Integer |
getId()
Identifier for this user
|
String |
getLocale()
Locale assigned to this user
|
String |
getMediaType() |
String |
getName()
User's real first name
|
String |
getNick()
User name / nickname.
|
String |
getPassword()
Password set for this user
|
String |
getPublicSshKey() |
String |
getSurname()
User's real last name
|
boolean |
isActive()
Flag indicating if the user is activated or not
|
void |
setActive(boolean active) |
void |
setAuthType(String authType)
AuthType value. |
void |
setAvailableVirtualDatacenters(String availableVirtualDatacenters) |
void |
setDescription(String description) |
void |
setEmail(String email) |
void |
setExpands(PrivilegesDto expands)
This representation might include privileges.
|
void |
setId(Integer id) |
void |
setLocale(String locale) |
void |
setName(String name) |
void |
setNick(String nick) |
void |
setPassword(String password) |
void |
setPublicSshKey(String publicSshKey) |
void |
setSurname(String surname) |
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 UserDto()
@Deprecated public UserDto(String name, String surname, String email, String nick, String password, String locale, String description)
UserDto(String, String, String, String, String, String, String, String)
instead.name - Name.surname - Surname.email - Email Address.nick - Login.password - Password.locale - Language.description - Desc.public UserDto(String name, String surname, String email, String nick, String password, String locale, String description, String authType)
name - Name.surname - Surname.email - Email Address.nick - Login.password - Password.locale - Language.description - Desc.authType - AuthType value.@NotNull public String getAuthType()
AuthType value.public String getAvailableVirtualDatacenters()
public String getDescription()
public String getEmail()
public Integer getId()
public String getLocale()
@NotNull public String getName()
@NotNull public String getNick()
public String getPassword()
public String getSurname()
@NotNull public boolean isActive()
public void setActive(boolean active)
public void setAuthType(String authType)
AuthType value.authType - AuthType value.public void setAvailableVirtualDatacenters(String availableVirtualDatacenters)
public void setDescription(String description)
public void setEmail(String email)
public void setId(Integer id)
public void setLocale(String locale)
public void setName(String name)
public void setNick(String nick)
public void setPassword(String password)
public void setSurname(String surname)
public PrivilegesDto getExpands()
getExpands in interface Expandable<PrivilegeDto>public void setExpands(PrivilegesDto expands)
public String getPublicSshKey()
public void setPublicSshKey(String publicSshKey)
public String getMediaType()
getMediaType in class SingleResourceTransportDtopublic String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtoCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.