|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.twilio.sdk.resource.Resource<C>
com.twilio.sdk.resource.InstanceResource<C>
com.twilio.sdk.resource.NextGenInstanceResource<TwilioTaskRouterClient>
com.twilio.sdk.resource.instance.taskrouter.Event
public class Event
TaskRouter logs Events for each state change in the Workspace for the purpose of historical reporting and auditing. See the TaskRouter documentation.
| Constructor Summary | |
|---|---|
Event(TwilioTaskRouterClient client)
Instantiates an event. |
|
Event(TwilioTaskRouterClient client,
Map<String,Object> properties)
Instantiates an event. |
|
Event(TwilioTaskRouterClient client,
String workspaceSid,
String eventSid)
Instantiates an event. |
|
| Method Summary | |
|---|---|
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,String> |
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()
|
String |
getWorkspaceSid()
Gets the workspace sid. |
| Methods inherited from class com.twilio.sdk.resource.InstanceResource |
|---|
getObject, getProperty, update, update |
| Methods inherited from class com.twilio.sdk.resource.Resource |
|---|
setRequestAccountSid |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Event(TwilioTaskRouterClient client)
client - the client
public Event(TwilioTaskRouterClient client,
Map<String,Object> properties)
client - the clientproperties - the properties
public Event(TwilioTaskRouterClient client,
String workspaceSid,
String eventSid)
client - the clientworkspaceSid - the workspace sideventSid - the event sid| Method Detail |
|---|
public String getAccountSid()
Account owning this Event.
public String getActorSid()
public String getActorType()
public String getActorUrl()
public String getDescription()
public Map<String,String> 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()
public String getWorkspaceSid()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||