com.jakewharton.pingdom.entities
Class Contact

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

public final class Contact
extends Object
implements PingdomEntity

Represents a Pingdom contact object.

See Also:
Serialized Form

Constructor Summary
Contact()
           
 
Method Summary
 String getCellPhone()
          Contact cellphone.
 SmsProvider getDefaultSmsProvider()
          Default SMS provider.
 Boolean getDirectTwitter()
          Send Twitter messages as Direct Messages.
 String getEmail()
          Contact email.
 Integer getId()
          Contact identifier.
 List<String> getiPhoneTokens()
          iPhone tokens.
 String getName()
          Contact name.
 Boolean getPaused()
          True if contact is paused.
 String getTwitterUser()
          Twitter username.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Contact

public Contact()
Method Detail

getId

public Integer getId()
Contact identifier.

Returns:
Value.
Since:
2.0

getName

public String getName()
Contact name.

Returns:
Value.
Since:
2.0

getEmail

public String getEmail()
Contact email.

Returns:
Value.
Since:
2.0

getCellPhone

public String getCellPhone()
Contact cellphone.

Returns:
Value.
Since:
2.0

getDefaultSmsProvider

public SmsProvider getDefaultSmsProvider()
Default SMS provider.

Returns:
Value.
Since:
2.0

getDirectTwitter

public Boolean getDirectTwitter()
Send Twitter messages as Direct Messages.

Returns:
Value.
Since:
2.0

getTwitterUser

public String getTwitterUser()
Twitter username.

Returns:
Value.
Since:
2.0

getiPhoneTokens

public List<String> getiPhoneTokens()
iPhone tokens.

Returns:
List of values.
Since:
2.0

getPaused

public Boolean getPaused()
True if contact is paused.

Returns:
Value.
Since:
2.0


Copyright © 2011 Jake Wharton. All Rights Reserved.