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, getRateLimitStatus
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAccessLevel, getRateLimitStatus
private 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
TwitterException
UserListJSONImpl(JSONObject json) throws TwitterException
TwitterException
private void init(JSONObject json) throws TwitterException
TwitterException
public 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 UserList
public java.lang.String getSlug()
public java.lang.String getDescription()
getDescription
in interface UserList
public int getSubscriberCount()
getSubscriberCount
in interface UserList
public int getMemberCount()
getMemberCount
in interface UserList
public java.net.URI getURI()
public boolean isPublic()
public boolean isFollowing()
isFollowing
in interface UserList
public java.util.Date getCreatedAt()
getCreatedAt
in interface UserList
public User getUser()
static PagableResponseList<UserList> createPagableUserListList(HttpResponse res, Configuration conf) throws TwitterException
TwitterException
static ResponseList<UserList> createUserListList(HttpResponse res, Configuration conf) throws TwitterException
TwitterException
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object