class AccountTotalsJSONImpl extends TwitterResponseImpl implements AccountTotals, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private int |
favorites |
private int |
followers |
private int |
friends |
private static long |
serialVersionUID |
private int |
updates |
NONE, READ, READ_WRITE, READ_WRITE_DIRECTMESSAGES| Modifier | Constructor and Description |
|---|---|
(package private) |
AccountTotalsJSONImpl(HttpResponse res,
Configuration conf) |
private |
AccountTotalsJSONImpl(HttpResponse res,
JSONObject json) |
(package private) |
AccountTotalsJSONImpl(JSONObject json) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getFavorites()
Returns the number of total favorites.
|
int |
getFollowers()
Returns the number of total followers.
|
int |
getFriends()
Returns the number of total friends.
|
int |
getUpdates()
Returns the number of total updates.
|
int |
hashCode() |
java.lang.String |
toString() |
getAccessLevel, getRateLimitStatusclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAccessLevel, getRateLimitStatusprivate static final long serialVersionUID
private final int updates
private final int followers
private final int favorites
private final int friends
private AccountTotalsJSONImpl(HttpResponse res, JSONObject json)
AccountTotalsJSONImpl(HttpResponse res, Configuration conf) throws TwitterException
TwitterExceptionAccountTotalsJSONImpl(JSONObject json) throws TwitterException
TwitterExceptionpublic int getUpdates()
AccountTotalsgetUpdates in interface AccountTotalspublic int getFollowers()
AccountTotalsgetFollowers in interface AccountTotalspublic int getFavorites()
AccountTotalsgetFavorites in interface AccountTotalspublic int getFriends()
AccountTotalsgetFriends in interface AccountTotalspublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object