class UserListJSONImpl extends TwitterResponseImpl implements UserList, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description |
private boolean |
following |
private java.lang.String |
fullName |
private int |
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 |
Constructor and Description |
---|
UserListJSONImpl(twitter4j.internal.http.HttpResponse res) |
UserListJSONImpl(twitter4j.internal.org.json.JSONObject json) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(UserList that) |
(package private) static PagableResponseList<UserList> |
createPagableUserListList(twitter4j.internal.http.HttpResponse res) |
(package private) static ResponseList<UserList> |
createUserListList(twitter4j.internal.http.HttpResponse res) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
Returns the description of the list
|
java.lang.String |
getFullName()
Returns the full name of the list
|
int |
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(twitter4j.internal.org.json.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() |
getRateLimitStatus
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getRateLimitStatus
private int 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 static final long serialVersionUID
UserListJSONImpl(twitter4j.internal.http.HttpResponse res) throws TwitterException
TwitterException
UserListJSONImpl(twitter4j.internal.org.json.JSONObject json) throws TwitterException
TwitterException
private void init(twitter4j.internal.org.json.JSONObject json) throws TwitterException
TwitterException
public int compareTo(UserList that)
compareTo
in interface java.lang.Comparable<UserList>
public int 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 User getUser()
static PagableResponseList<UserList> createPagableUserListList(twitter4j.internal.http.HttpResponse res) throws TwitterException
TwitterException
static ResponseList<UserList> createUserListList(twitter4j.internal.http.HttpResponse res) 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