public class UserListJSONImpl extends JSONResponseImpl implements UserList, java.io.Serializable
NONE, READ, READ_WRITE, READ_WRITE_DIRECTMESSAGES| Constructor and Description |
|---|
UserListJSONImpl(JSONObject json) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(UserList that) |
boolean |
equals(java.lang.Object obj) |
int |
getAccessLevel() |
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
|
java.lang.String |
getIdStr()
Returns the idStr of the list
|
int |
getMemberCount()
Returns the member count of the list
|
java.lang.String |
getName()
Returns the name of the list
|
RateLimitStatus |
getRateLimitStatus()
Returns the current rate limit status if available.
|
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() |
boolean |
isFollowing()
Returns if the authenticated user is following the list
|
boolean |
isPublic()
tests if the list is public
|
java.lang.String |
toString() |
getJSONObject, getRawJSONclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAccessLevel, getRateLimitStatuspublic UserListJSONImpl(JSONObject json) throws TwitterException
TwitterExceptionpublic int compareTo(UserList that)
compareTo in interface java.lang.Comparable<UserList>public long getId()
public java.lang.String getIdStr()
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 User getUser()
public 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.Objectpublic RateLimitStatus getRateLimitStatus()
getRateLimitStatus in interface TwitterResponsepublic int getAccessLevel()
getAccessLevel in interface TwitterResponse