public class Event extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static EventFetcher |
fetcher(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.
|
String |
getDescription()
Returns The The description.
|
Map<String,Object> |
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.
|
String |
getSid()
Returns The The sid.
|
String |
getSource()
Returns The The source.
|
String |
getSourceIpAddress()
Returns The The source_ip_address.
|
int |
hashCode() |
static EventReader |
reader()
Create a EventReader to execute read.
|
String |
toString() |
public static EventFetcher fetcher(String sid)
sid
- The sidpublic static EventReader reader()
public 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 String getDescription()
public final Map<String,Object> getEventData()
public final org.joda.time.DateTime getEventDate()
public final String getEventType()
public final String getResourceSid()
public final String getResourceType()
public final String getSid()
public final String getSource()
public final String getSourceIpAddress()
Copyright © 2011 Twilio, Inc. All Rights Reserved.