class AccountSettingsJSONImpl extends TwitterResponseImpl implements AccountSettings, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private boolean |
GEO_ENABLED |
private static long |
serialVersionUID |
private java.lang.String |
SLEEP_END_TIME |
private java.lang.String |
SLEEP_START_TIME |
private boolean |
SLEEP_TIME_ENABLED |
private Location[] |
TREND_LOCATION |
Modifier | Constructor and Description |
---|---|
(package private) |
AccountSettingsJSONImpl(twitter4j.internal.http.HttpResponse res,
Configuration conf) |
private |
AccountSettingsJSONImpl(twitter4j.internal.http.HttpResponse res,
twitter4j.internal.org.json.JSONObject json) |
(package private) |
AccountSettingsJSONImpl(twitter4j.internal.org.json.JSONObject json) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSleepEndTime()
Returns sleep end time.
|
java.lang.String |
getSleepStartTime()
Returns sleep start time.
|
Location[] |
getTrendLocations()
Return the user's trend locations
|
boolean |
isGeoEnabled()
Return true if the user is enabling geo location
|
boolean |
isSleepTimeEnabled()
Returns true if the user enabled sleep time.
|
getRateLimitStatus
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRateLimitStatus
private static final long serialVersionUID
private final boolean SLEEP_TIME_ENABLED
private final java.lang.String SLEEP_START_TIME
private final java.lang.String SLEEP_END_TIME
private final Location[] TREND_LOCATION
private final boolean GEO_ENABLED
private AccountSettingsJSONImpl(twitter4j.internal.http.HttpResponse res, twitter4j.internal.org.json.JSONObject json) throws TwitterException
TwitterException
AccountSettingsJSONImpl(twitter4j.internal.http.HttpResponse res, Configuration conf) throws TwitterException
TwitterException
AccountSettingsJSONImpl(twitter4j.internal.org.json.JSONObject json) throws TwitterException
TwitterException
public boolean isSleepTimeEnabled()
AccountSettings
isSleepTimeEnabled
in interface AccountSettings
public java.lang.String getSleepStartTime()
AccountSettings
getSleepStartTime
in interface AccountSettings
public java.lang.String getSleepEndTime()
AccountSettings
getSleepEndTime
in interface AccountSettings
public Location[] getTrendLocations()
AccountSettings
getTrendLocations
in interface AccountSettings
public boolean isGeoEnabled()
AccountSettings
isGeoEnabled
in interface AccountSettings