public class User extends Object implements Serializable
Constructor and Description |
---|
User() |
Modifier and Type | Method and Description |
---|---|
static User |
fromJSON(JSONObject json) |
static User |
fromJSON(String string) |
String |
getCredentials() |
String |
getFullName() |
String |
getInitials() |
Bitmap |
getInitialsBitmap(int width,
int height,
int fontSize,
int color) |
String |
getKey() |
String |
getPassword() |
String |
getPhotoURL() |
void |
setFullName(String fullName) |
void |
setKey(String key) |
void |
setPassword(String password) |
void |
setPhotoURL(String photoURL) |
String |
toJSON() |
String |
toString() |
public static User fromJSON(String string) throws JSONException
JSONException
public static User fromJSON(JSONObject json) throws JSONException
JSONException
public String toJSON()
public String getFullName()
public String getInitials()
public Bitmap getInitialsBitmap(int width, int height, int fontSize, int color)
public String getKey()
public void setKey(String key)
public void setFullName(String fullName)
public String getPassword()
public void setPassword(String password)
public String getPhotoURL()
public void setPhotoURL(String photoURL)
public String getCredentials()