Modifier and Type | Field and Description |
---|---|
private Date |
accountCreated
the date this user was created
|
private String |
description
the profile description
|
private String |
displayName
the display name
|
private LatLon |
home
the home location
|
private int |
homeZoom
the zoom level for the home location
|
private int |
id
the user id
|
private List<String> |
languages
the list of preferred languages
|
private int |
unreadMessages
the number of unread messages
|
Constructor and Description |
---|
UserInfo()
Constructs a new
UserInfo . |
Modifier and Type | Method and Description |
---|---|
Date |
getAccountCreated() |
String |
getDescription() |
String |
getDisplayName() |
LatLon |
getHome() |
int |
getHomeZoom() |
int |
getId() |
List<String> |
getLanguages() |
int |
getUnreadMessages()
Replies the number of unread messages
|
void |
setAccountCreated(Date accountCreated) |
void |
setDescription(String description) |
void |
setDisplayName(String displayName) |
void |
setHome(LatLon home) |
void |
setHomeZoom(int homeZoom) |
void |
setId(int id) |
void |
setLanguages(List<String> languages) |
void |
setUnreadMessages(int unreadMessages)
Sets the number of unread messages
|
private int id
private String displayName
private Date accountCreated
private int homeZoom
private String description
private int unreadMessages
public UserInfo()
UserInfo
.public int getId()
public void setId(int id)
public String getDisplayName()
public void setDisplayName(String displayName)
public Date getAccountCreated()
public void setAccountCreated(Date accountCreated)
public String getDescription()
public void setDescription(String description)
public List<String> getLanguages()
public void setLanguages(List<String> languages)
public int getHomeZoom()
public void setHomeZoom(int homeZoom)
public final int getUnreadMessages()
public final void setUnreadMessages(int unreadMessages)
unreadMessages
- the number of unread messages