public class Event extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
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.
|
Map<String,Object> |
getRequest()
Returns Call Request..
|
Map<String,Object> |
getResponse()
Returns Call Response with Events..
|
int |
hashCode() |
static EventReader |
reader(String pathCallSid)
Create a EventReader to execute read.
|
static EventReader |
reader(String pathAccountSid,
String pathCallSid)
Create a EventReader to execute read.
|
public static EventReader reader(String pathAccountSid, String pathCallSid)
pathAccountSid
- Account Sid.pathCallSid
- Call Sid.public static EventReader reader(String pathCallSid)
pathCallSid
- Call Sid.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 Map<String,Object> getRequest()
public final Map<String,Object> getResponse()
Copyright © 2019 Twilio, Inc. All Rights Reserved.