public class Event extends SidResource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static EventFetcher |
fetch(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.
|
com.fasterxml.jackson.databind.JsonNode |
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 |
read()
Create a EventReader to execute read.
|
String |
toString() |
public static EventFetcher fetch(String sid)
sid
- The sidpublic static EventReader read()
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 com.fasterxml.jackson.databind.JsonNode getEventData()
public final org.joda.time.DateTime getEventDate()
public final String getEventType()
public final String getResourceSid()
public final String getResourceType()
public final String getSid()
getSid
in class SidResource
public final String getSource()
public final String getSourceIpAddress()
Copyright © 2011 Twilio, Inc. All Rights Reserved.