public class UserInfo extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
accountCreated
the date this user was created
|
private java.lang.String |
description
the profile description
|
private java.lang.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 java.util.List<java.lang.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 |
---|---|
java.util.Date |
getAccountCreated() |
java.lang.String |
getDescription() |
java.lang.String |
getDisplayName() |
LatLon |
getHome() |
int |
getHomeZoom() |
int |
getId() |
java.util.List<java.lang.String> |
getLanguages() |
int |
getUnreadMessages()
Replies the number of unread messages
|
void |
setAccountCreated(java.util.Date accountCreated) |
void |
setDescription(java.lang.String description) |
void |
setDisplayName(java.lang.String displayName) |
void |
setHome(LatLon home) |
void |
setHomeZoom(int homeZoom) |
void |
setId(int id) |
void |
setLanguages(java.util.List<java.lang.String> languages) |
void |
setUnreadMessages(int unreadMessages)
Sets the number of unread messages
|
private int id
private java.lang.String displayName
private java.util.Date accountCreated
private int homeZoom
private java.lang.String description
private java.util.List<java.lang.String> languages
private int unreadMessages
public UserInfo()
UserInfo
.public int getId()
public void setId(int id)
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
public java.util.Date getAccountCreated()
public void setAccountCreated(java.util.Date accountCreated)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.util.List<java.lang.String> getLanguages()
public void setLanguages(java.util.List<java.lang.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