public class SessionDto 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 |
|---|
SessionDto() |
| Modifier and Type | Method and Description |
|---|---|
AuthType |
getAuthType()
The authentication type of the session
|
String |
getBaseMediaType() |
Date |
getExpirationDate()
The expiration date of the session
|
Integer |
getId()
The identifier of the entity
|
Integer |
getIdUser()
The id of the user associated with the session
|
String |
getKey()
The session key
|
String |
getMediaType() |
String |
getNick()
The username of the user associated with the session
|
void |
setAuthType(AuthType authType) |
void |
setExpirationDate(Date expirationDate) |
void |
setId(Integer id) |
void |
setIdUser(Integer idUser) |
void |
setKey(String key) |
void |
setNick(String nick) |
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 Integer getIdUser()
public void setIdUser(Integer idUser)
public String getNick()
public void setNick(String nick)
public String getKey()
public void setKey(String key)
public Date getExpirationDate()
public void setExpirationDate(Date expirationDate)
public AuthType getAuthType()
public void setAuthType(AuthType authType)
public String getMediaType()
getMediaType in class SingleResourceTransportDtopublic String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtoCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.