public class User extends Resource
Constructor and Description |
---|
User()
Initialize a user object.
|
User(org.json.JSONObject jsonObject)
Initialize a user object from json object.
|
User(String jsonString)
Initialize a user object from json string.
|
Modifier and Type | Method and Description |
---|---|
String |
getPermissionsLink()
Gets the self-link of the permissions associated with the user.
|
getETag, getId, getResourceId, getSelfLink, getTimestamp, setId, setResourceId
get, getBoolean, getCollection, getCollection, getDouble, getHashMap, getInt, getLogger, getLong, getMapper, getObject, getObject, getObjectByPath, getString, has, remove, set, toJson, toJson, toObject, toString
public User()
public User(String jsonString)
jsonString
- the json string that represents the database user.public User(org.json.JSONObject jsonObject)
jsonObject
- the json object that represents the database user.public String getPermissionsLink()
Copyright © 2018. All rights reserved.