Class Event
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.call.Event
-
- All Implemented Interfaces:
Serializable
public class Event extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static EventfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Event object using the provided ObjectMapper.static EventfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Event object using the provided ObjectMapper.Map<String,Object>getRequest()Map<String,Object>getResponse()inthashCode()static EventReaderreader(String pathCallSid)static EventReaderreader(String pathAccountSid, String pathCallSid)
-
-
-
Method Detail
-
reader
public static EventReader reader(String pathCallSid)
-
reader
public static EventReader reader(String pathAccountSid, 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
-
-