public class Event extends SidResource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static EventFetcher |
fetch(String workspaceSid,
String sid)
Create a EventFetcher to execute fetch.
|
static Event |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Event object using the provided
ObjectMapper.
|
static Event |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Event object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
String |
getActorSid()
Returns The The actor_sid.
|
String |
getActorType()
Returns The The actor_type.
|
URI |
getActorUrl()
Returns The The actor_url.
|
String |
getDescription()
Returns The The description.
|
Map<String,String> |
getEventData()
Returns The The event_data.
|
org.joda.time.DateTime |
getEventDate()
Returns The The event_date.
|
String |
getEventType()
Returns The The event_type.
|
String |
getResourceSid()
Returns The The resource_sid.
|
String |
getResourceType()
Returns The The resource_type.
|
URI |
getResourceUrl()
Returns The The resource_url.
|
String |
getSid()
Returns The The sid.
|
String |
getSource()
Returns The The source.
|
String |
getSourceIpAddress()
Returns The The source_ip_address.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
static EventReader |
read(String workspaceSid)
Create a EventReader to execute read.
|
String |
toString() |
public static EventFetcher fetch(String workspaceSid, String sid)
workspaceSid
- The workspace_sidsid
- The sidpublic static EventReader read(String workspaceSid)
workspaceSid
- The workspace_sidpublic static Event fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Event fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final String getActorSid()
public final String getActorType()
public final URI getActorUrl()
public final String getDescription()
public final Map<String,String> getEventData()
public final org.joda.time.DateTime getEventDate()
public final String getEventType()
public final String getResourceSid()
public final String getResourceType()
public final URI getResourceUrl()
public final String getSid()
getSid
in class SidResource
public final String getSource()
public final String getSourceIpAddress()
public final URI getUrl()
Copyright © 2011 Twilio, Inc. All Rights Reserved.