|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shredzone.flattr4j.model.Resource org.shredzone.flattr4j.model.User
public class User
A User
. Two User
are considered equal if they contain the same id.
Field Summary |
---|
Fields inherited from class org.shredzone.flattr4j.model.Resource |
---|
data |
Constructor Summary | |
---|---|
User(FlattrObject data)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCity()
City the user lives in. |
String |
getCountry()
Country the user lives in. |
String |
getDescription()
User's own description. |
String |
getEmail()
User's email address. |
String |
getFirstname()
User's real first name. |
String |
getGravatar()
URL of the user's picture at Gravatar. |
String |
getLastname()
User's real last name. |
String |
getLink()
Human readable link to this resource at Flattr. |
Date |
getRegisteredAt()
Registration date. |
String |
getResource()
URL that returns details of this resource as JSON. |
String |
getUserId()
User id. |
int |
hashCode()
|
static UserId |
withId(String id)
Returns a UserId for the given User id. |
Methods inherited from class org.shredzone.flattr4j.model.Resource |
---|
toFlattrObject, toJSON |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public User(FlattrObject data)
Method Detail |
---|
public static UserId withId(String id)
UserId
for the given User id.
id
- User id
UserId
object for this idpublic String getUserId()
getUserId
in interface UserId
public String getResource()
public String getLink()
public String getFirstname()
public String getLastname()
public String getCity()
public String getCountry()
@RequiredScope(value=EXTENDEDREAD) public String getEmail()
public String getDescription()
public String getGravatar()
@RequiredScope(value=EXTENDEDREAD) public Date getRegisteredAt()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |