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 |
Modifier | Constructor and Description |
---|---|
(package private) |
AccountTotalsJSONImpl(twitter4j.internal.http.HttpResponse res) |
private |
AccountTotalsJSONImpl(twitter4j.internal.http.HttpResponse res,
twitter4j.internal.org.json.JSONObject json) |
(package private) |
AccountTotalsJSONImpl(twitter4j.internal.org.json.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() |
getRateLimitStatus
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getRateLimitStatus
private static final long serialVersionUID
private final int updates
private final int followers
private final int favorites
private final int friends
private AccountTotalsJSONImpl(twitter4j.internal.http.HttpResponse res, twitter4j.internal.org.json.JSONObject json) throws TwitterException
TwitterException
AccountTotalsJSONImpl(twitter4j.internal.http.HttpResponse res) throws TwitterException
TwitterException
AccountTotalsJSONImpl(twitter4j.internal.org.json.JSONObject json) throws TwitterException
TwitterException
public int getUpdates()
AccountTotals
getUpdates
in interface AccountTotals
public int getFollowers()
AccountTotals
getFollowers
in interface AccountTotals
public int getFavorites()
AccountTotals
getFavorites
in interface AccountTotals
public int getFriends()
AccountTotals
getFriends
in interface AccountTotals
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object