public class Event extends NextGenInstanceResource<TwilioMonitorClient>
| Constructor and Description |
|---|
Event(TwilioMonitorClient client)
Instantiates an event.
|
Event(TwilioMonitorClient client,
Map<String,Object> properties)
Instantiates an event.
|
Event(TwilioMonitorClient client,
String eventSid)
Instantiates an event.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccountSid()
The
Account owning this Event. |
String |
getActorSid()
The unique ID of the actor that generated this Event.
|
String |
getActorType()
The type of the actor that generated this Event.
|
String |
getActorUrl()
The URL for the resource representing the actor that generated this Event.
|
String |
getDescription()
A description of this event.
|
Map<String,Map<String,Object>> |
getEventData()
Data about this specific event.
|
Calendar |
getEventDate()
The date and time this Event occurred.
|
String |
getEventType()
An identifier for this type of Event.
|
String |
getResourceSid()
The sid of the object this event is most relevant to (TaskSid, ReservationSid, WorkerSid)
|
String |
getResourceType()
The type of object this event is most relevant to (Task, Reservation, Worker)
|
String |
getResourceUrl()
Gets the resource url.
|
String |
getSid()
Gets the sid.
|
String |
getSource() |
String |
getSourceIpAddress() |
getCastedObject, getObject, getProperty, toJSON, update, updatesetRequestAccountSidpublic Event(TwilioMonitorClient client)
client - the clientpublic Event(TwilioMonitorClient client, Map<String,Object> properties)
client - the clientproperties - the propertiespublic Event(TwilioMonitorClient client, String eventSid)
client - the clienteventSid - the event sidpublic String getActorSid()
public String getActorType()
public String getActorUrl()
public String getDescription()
public Map<String,Map<String,Object>> getEventData()
public Calendar getEventDate()
public String getEventType()
public String getResourceSid()
public String getResourceType()
public String getResourceUrl()
public String getSid()
public String getSource()
public String getSourceIpAddress()
Copyright © 2011 Twilio, Inc. All Rights Reserved.