org.springframework.social.twitter.api
Class AccountSettings

java.lang.Object
  extended by org.springframework.social.twitter.api.TwitterObject
      extended by org.springframework.social.twitter.api.AccountSettings

public class AccountSettings
extends TwitterObject

Model class representing Twitter account settings.


Nested Class Summary
static class AccountSettings.SleepTime
          The account's mobile update sleep time settings.
static class AccountSettings.TimeZone
          The account's timezone settings.
static class AccountSettings.TrendLocation
          The account's trend location settings.
 
Constructor Summary
AccountSettings()
           
 
Method Summary
 String getLanguage()
           
 String getScreenName()
           
 AccountSettings.SleepTime getSleepTime()
           
 AccountSettings.TimeZone getTimeZone()
           
 List<AccountSettings.TrendLocation> getTrendLocation()
           
 boolean isAlwaysUseHttps()
           
 boolean isDiscoverableByEmail()
           
 boolean isDiscoverableByMobilePhone()
           
 boolean isDisplaySensitiveMedia()
           
 boolean isGeoEnabled()
           
 boolean isProtected()
           
 boolean isUseCookiePersonalization()
           
 
Methods inherited from class org.springframework.social.twitter.api.TwitterObject
add, getExtraData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountSettings

public AccountSettings()
Method Detail

isAlwaysUseHttps

public boolean isAlwaysUseHttps()
Returns:
true if the account is set to always use HTTPS; false otherwise.

isDiscoverableByEmail

public boolean isDiscoverableByEmail()
Returns:
true if the account is discoverable by email; false otherwise.

isDiscoverableByMobilePhone

public boolean isDiscoverableByMobilePhone()
Returns:
true if the account is discoverable by mobile phone; false otherwise.

isDisplaySensitiveMedia

public boolean isDisplaySensitiveMedia()
Returns:
true if the account's tweets may only be visible to approved users; false if the tweets are public.

isGeoEnabled

public boolean isGeoEnabled()
Returns:
true if the account is geo-enabled; false otherwise.

getLanguage

public String getLanguage()
Returns:
The account's language.

isProtected

public boolean isProtected()
Returns:
true if the account is set for tweet visibility to be only for authorized u; false otherwise.

getScreenName

public String getScreenName()
Returns:
The account's screen name.

isUseCookiePersonalization

public boolean isUseCookiePersonalization()
Returns:
true if the account is set to tailor content based on recent website visits; false otherwise.

getTimeZone

public AccountSettings.TimeZone getTimeZone()
Returns:
The account's time zone.

getSleepTime

public AccountSettings.SleepTime getSleepTime()
Returns:
The account's mobile update sleep time settings.

getTrendLocation

public List<AccountSettings.TrendLocation> getTrendLocation()
Returns:
The account's trend location settings.