|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttwitter4j.TwitterResponseImpl
twitter4j.UserListJSONImpl
class UserListJSONImpl
A data class representing Basic list information element
| Field Summary | |
|---|---|
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
|
| Fields inherited from interface twitter4j.TwitterResponse |
|---|
NONE, READ, READ_WRITE, READ_WRITE_DIRECTMESSAGES |
| Constructor Summary | |
|---|---|
UserListJSONImpl(twitter4j.internal.http.HttpResponse res,
Configuration conf)
|
|
UserListJSONImpl(twitter4j.internal.org.json.JSONObject json)
|
|
| Method Summary | |
|---|---|
int |
compareTo(UserList that)
|
(package private) static PagableResponseList<UserList> |
createPagableUserListList(twitter4j.internal.http.HttpResponse res,
Configuration conf)
|
(package private) static ResponseList<UserList> |
createUserListList(twitter4j.internal.http.HttpResponse res,
Configuration conf)
|
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()
|
| Methods inherited from class twitter4j.TwitterResponseImpl |
|---|
getAccessLevel, getRateLimitStatus, toAccessLevel |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface twitter4j.TwitterResponse |
|---|
getAccessLevel, getRateLimitStatus |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
UserListJSONImpl(twitter4j.internal.http.HttpResponse res,
Configuration conf)
throws TwitterException
TwitterException
UserListJSONImpl(twitter4j.internal.org.json.JSONObject json)
throws TwitterException
TwitterException| Method Detail |
|---|
private void init(twitter4j.internal.org.json.JSONObject json)
throws TwitterException
TwitterExceptionpublic int compareTo(UserList that)
compareTo in interface java.lang.Comparable<UserList>public int getId()
getId in interface UserListpublic java.lang.String getName()
getName in interface UserListpublic java.lang.String getFullName()
getFullName in interface UserListpublic java.lang.String getSlug()
getSlug in interface UserListpublic java.lang.String getDescription()
getDescription in interface UserListpublic int getSubscriberCount()
getSubscriberCount in interface UserListpublic int getMemberCount()
getMemberCount in interface UserListpublic java.net.URI getURI()
getURI in interface UserListpublic boolean isPublic()
isPublic in interface UserListpublic boolean isFollowing()
isFollowing in interface UserListpublic User getUser()
getUser in interface UserList
static PagableResponseList<UserList> createPagableUserListList(twitter4j.internal.http.HttpResponse res,
Configuration conf)
throws TwitterException
TwitterException
static ResponseList<UserList> createUserListList(twitter4j.internal.http.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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||