class UserListJSONImpl extends TwitterResponseImpl implements UserList, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private java.util.Date |
createdAt |
private java.lang.String |
description |
private boolean |
following |
private java.lang.String |
fullName |
private long |
id |
private int |
memberCount |
private boolean |
mode |
private java.lang.String |
name |
private static long |
serialVersionUID |
private java.lang.String |
slug |
private int |
subscriberCount |
private java.lang.String |
uri |
private User |
user |
NONE, READ, READ_WRITE, READ_WRITE_DIRECTMESSAGES| Constructor and Description |
|---|
UserListJSONImpl(HttpResponse res,
Configuration conf) |
UserListJSONImpl(JSONObject json) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(UserList that) |
(package private) static PagableResponseList<UserList> |
createPagableUserListList(HttpResponse res,
Configuration conf) |
(package private) static ResponseList<UserList> |
createUserListList(HttpResponse res,
Configuration conf) |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreatedAt() |
java.lang.String |
getDescription()
Returns the description of the list
|
java.lang.String |
getFullName()
Returns the full name of the list
|
long |
getId()
Returns the id of the list
|
int |
getMemberCount()
Returns the member count of the list
|
java.lang.String |
getName()
Returns the name of the list
|
java.lang.String |
getSlug()
Returns the slug of the list
|
int |
getSubscriberCount()
Returns the subscriber count of the list
|
java.net.URI |
getURI()
Returns the uri of the list
|
User |
getUser()
Returns the user of the list
|
int |
hashCode() |
private void |
init(JSONObject json) |
boolean |
isFollowing()
Returns if the authenticated user is following the list
|
boolean |
isPublic()
tests if the list is public
|
java.lang.String |
toString() |
getAccessLevel, getRateLimitStatusclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAccessLevel, getRateLimitStatusprivate static final long serialVersionUID
private long id
private java.lang.String name
private java.lang.String fullName
private java.lang.String slug
private java.lang.String description
private int subscriberCount
private int memberCount
private java.lang.String uri
private boolean mode
private User user
private boolean following
private java.util.Date createdAt
UserListJSONImpl(HttpResponse res, Configuration conf) throws TwitterException
TwitterExceptionUserListJSONImpl(JSONObject json) throws TwitterException
TwitterExceptionprivate void init(JSONObject json) throws TwitterException
TwitterExceptionpublic int compareTo(UserList that)
compareTo in interface java.lang.Comparable<UserList>public long getId()
public java.lang.String getName()
public java.lang.String getFullName()
getFullName in interface UserListpublic java.lang.String getSlug()
public java.lang.String getDescription()
getDescription in interface UserListpublic int getSubscriberCount()
getSubscriberCount in interface UserListpublic int getMemberCount()
getMemberCount in interface UserListpublic java.net.URI getURI()
public boolean isPublic()
public boolean isFollowing()
isFollowing in interface UserListpublic java.util.Date getCreatedAt()
getCreatedAt in interface UserListpublic User getUser()
static PagableResponseList<UserList> createPagableUserListList(HttpResponse res, Configuration conf) throws TwitterException
TwitterExceptionstatic ResponseList<UserList> createUserListList(HttpResponse res, Configuration conf) throws TwitterException
TwitterExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object