public class UserList extends java.lang.Object implements Jsonable, InstanceList<User>
Constructor and Description |
---|
UserList(java.util.List<User> users) |
UserList(java.lang.String json) |
Modifier and Type | Method and Description |
---|---|
User |
get(java.lang.String cuid) |
int |
getCount() |
int |
getIndex(java.lang.String id) |
java.util.List<User> |
getItems() |
org.json.JSONObject |
getJson() |
java.lang.String |
getJsonName()
May be overridden to name the JSON object returned from
Jsonable.getJson() . |
java.util.Date |
getRetrieveDate() |
long |
getTotal() |
java.util.List<User> |
getUsers() |
void |
setCount(int ct) |
void |
setRetrieveDate(java.util.Date d) |
void |
setTotal(long total) |
void |
setUsers(java.util.List<User> users) |
public UserList(java.util.List<User> users)
public UserList(java.lang.String json) throws org.json.JSONException
org.json.JSONException
public java.util.Date getRetrieveDate()
public void setRetrieveDate(java.util.Date d)
public int getCount()
getCount
in interface InstanceList<User>
public void setCount(int ct)
public long getTotal()
getTotal
in interface InstanceList<User>
public void setTotal(long total)
public java.util.List<User> getUsers()
public void setUsers(java.util.List<User> users)
public java.util.List<User> getItems()
getItems
in interface InstanceList<User>
public int getIndex(java.lang.String id)
getIndex
in interface InstanceList<User>
public User get(java.lang.String cuid)
public org.json.JSONObject getJson() throws org.json.JSONException
org.json.JSONException
public java.lang.String getJsonName()
Jsonable
Jsonable.getJson()
.Copyright © 2019 CenturyLink, Inc.