Package com.twilio.rest.insights.v1.call
Class Event
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.insights.v1.call.Event
-
- All Implemented Interfaces:
Serializable
public class Event extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Event.Level
static class
Event.TwilioEdge
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.String
getAccountSid()
String
getCallSid()
Map<String,Object>
getCarrierEdge()
Map<String,Object>
getClientEdge()
Event.TwilioEdge
getEdge()
String
getGroup()
Event.Level
getLevel()
String
getName()
Map<String,Object>
getSdkEdge()
Map<String,Object>
getSipEdge()
String
getTimestamp()
int
hashCode()
static EventReader
reader(String pathCallSid)
-
-
-
Method Detail
-
reader
public static EventReader reader(String pathCallSid)
-
fromJson
public static Event fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Event object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Event object represented by the provided JSON
-
fromJson
public static Event fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Event object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Event object represented by the provided JSON
-
getTimestamp
public final String getTimestamp()
-
getCallSid
public final String getCallSid()
-
getAccountSid
public final String getAccountSid()
-
getEdge
public final Event.TwilioEdge getEdge()
-
getGroup
public final String getGroup()
-
getLevel
public final Event.Level getLevel()
-
getName
public final String getName()
-
-