com.jakewharton.pingdom.entities
Class Actions.Alert

java.lang.Object
  extended by com.jakewharton.pingdom.entities.Actions.Alert
All Implemented Interfaces:
PingdomEntity, Serializable
Enclosing class:
Actions

public static final class Actions.Alert
extends Object
implements PingdomEntity

Represents a Pingdom alert object.

See Also:
Serialized Form

Constructor Summary
Actions.Alert()
           
 
Method Summary
 Boolean getCharged()
          True if your account was charged for this message.
 Integer getCheckId()
          Identifier of check.
 Integer getContactId()
          Identifier of alerted contact.
 String getContactName()
          Name of alerted contact.
 String getMessageFull()
          Full message body.
 String getMessageShort()
          Short description of message.
 String getSentTo()
          Target address, phone number, etc.
 AlertStatus getStatus()
          Alert status.
 Date getTime()
          Time of alert generation.
 AlertVia getVia()
          Alert medium.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Actions.Alert

public Actions.Alert()
Method Detail

getContactName

public String getContactName()
Name of alerted contact.

Returns:
Value.
Since:
2.0

getContactId

public Integer getContactId()
Identifier of alerted contact.

Returns:
Value.

getCheckId

public Integer getCheckId()
Identifier of check.

Returns:
Value.
Since:
2.0

getTime

public Date getTime()
Time of alert generation.

Returns:
Value.
Since:
2.0

getVia

public AlertVia getVia()
Alert medium.

Returns:
Value.
Since:
2.0

getStatus

public AlertStatus getStatus()
Alert status.

Returns:
Value.
Since:
2.0

getMessageShort

public String getMessageShort()
Short description of message.

Returns:
Value.
Since:
2.0

getMessageFull

public String getMessageFull()
Full message body.

Returns:
Value.
Since:
2.0

getSentTo

public String getSentTo()
Target address, phone number, etc.

Returns:
Value.
Since:
2.0

getCharged

public Boolean getCharged()
True if your account was charged for this message.

Returns:
Value.
Since:
2.0


Copyright © 2011 Jake Wharton. All Rights Reserved.