com.jakewharton.pingdom.entities
Class Settings

java.lang.Object
  extended by com.jakewharton.pingdom.entities.Settings
All Implemented Interfaces:
PingdomEntity, Serializable

public final class Settings
extends Object
implements PingdomEntity

Represents a Pingdom settings object.

See Also:
Serialized Form

Nested Class Summary
static class Settings.Country
          Represents a Pingdom country object.
static class Settings.PublicReports
          Represents a Pingdom public report settings object.
static class Settings.TimeZone
          Represents a Pingdom time zone object.
 
Constructor Summary
Settings()
           
 
Method Summary
 Date getAccountCreated()
          Account creation timestamp.
 String getAddress()
          Address line 1.
 String getAddress2()
          Address line 2.
 Boolean getAutoLogout()
          Enable auto-logout.
 String getCellPhone()
          Cellphone.
 String getCompany()
          Company.
 Settings.Country getCountry()
          Country.
 String getDateFormat()
          Date format.
 String getEmail()
          Email.
 String getFirstName()
          First name.
 String getLastName()
          Last name.
 String getLocation()
          City / location.
 String getNumberExample()
          Example of number presentation.
 String getNumberFormat()
          Number format.
 String getPhone()
          Phone.
 Settings.PublicReports getPublicReports()
          Public reports settings.
 String getRegion()
          Region.
 String getState()
          State or equivalent.
 String getTimeFormat()
          Time format.
 Settings.TimeZone getTimeZone()
          Time zone.
 String getZip()
          Zip, postal code, or equivalent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Settings

public Settings()
Method Detail

getFirstName

public String getFirstName()
First name.

Returns:
Value.
Since:
2.0

getLastName

public String getLastName()
Last name.

Returns:
Value.
Since:
2.0

getCompany

public String getCompany()
Company.

Returns:
Value.
Since:
2.0

getEmail

public String getEmail()
Email.

Returns:
Value.
Since:
2.0

getPhone

public String getPhone()
Phone.

Returns:
Value.
Since:
2.0

getCellPhone

public String getCellPhone()
Cellphone.

Returns:
Value.
Since:
2.0

getAddress

public String getAddress()
Address line 1.

Returns:
Value.
Since:
2.0

getAddress2

public String getAddress2()
Address line 2.

Returns:
Value.
Since:
2.0

getZip

public String getZip()
Zip, postal code, or equivalent.

Returns:
Value
Since:
2.0

getLocation

public String getLocation()
City / location.

Returns:
Value.
Since:
2.0

getState

public String getState()
State or equivalent.

Returns:
Value.
Since:
2.0

getAutoLogout

public Boolean getAutoLogout()
Enable auto-logout.

Returns:
Value.
Since:
2.0

getCountry

public Settings.Country getCountry()
Country.

Returns:
Value.
Since:
2.0

getRegion

public String getRegion()
Region.

Returns:
Value.
Since:
2.0

getAccountCreated

public Date getAccountCreated()
Account creation timestamp.

Returns:
Value.
Since:
2.0

getTimeZone

public Settings.TimeZone getTimeZone()
Time zone.

Returns:
Value.
Since:
2.0

getDateFormat

public String getDateFormat()
Date format.

Returns:
Value.
Since:
2.0

getTimeFormat

public String getTimeFormat()
Time format.

Returns:
Value.
Since:
2.0

getNumberFormat

public String getNumberFormat()
Number format.

Returns:
Value.
Since:
2.0

getNumberExample

public String getNumberExample()
Example of number presentation.

Returns:
Value.
Since:
2.0

getPublicReports

public Settings.PublicReports getPublicReports()
Public reports settings.

Returns:
Value.
Since:
2.0


Copyright © 2011 Jake Wharton. All Rights Reserved.