public class HalUser extends HalResource<HalUser> implements HalIdResource
| Modifier and Type | Field and Description |
|---|---|
protected String |
email |
protected String |
firstName |
protected String |
id |
protected String |
lastName |
static HalRelation |
REL_SELF |
_embedded, _links, linker| Constructor and Description |
|---|
HalUser() |
| Modifier and Type | Method and Description |
|---|---|
static HalUser |
fromUser(User user) |
String |
getEmail() |
String |
getFirstName() |
String |
getId()
return the identifier of the resource
|
String |
getLastName() |
addEmbedded, addEmbedded, addLink, addLink, embed, get_embedded, get_links, getEmbeddedpublic static final HalRelation REL_SELF
protected String id
protected String firstName
protected String lastName
protected String email
public String getId()
HalIdResourcegetId in interface HalIdResourcepublic String getFirstName()
public String getLastName()
public String getEmail()
Copyright © 2021. All rights reserved.