Package com.twilio.rest.flexapi.v1
Class Interaction
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.flexapi.v1.Interaction
-
- All Implemented Interfaces:
Serializable
public class Interaction extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InteractionCreatorcreator(Map<String,Object> channel, Map<String,Object> routing)booleanequals(Object o)static InteractionFetcherfetcher(String pathSid)static InteractionfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Interaction object using the provided ObjectMapper.static InteractionfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Interaction object using the provided ObjectMapper.Map<String,Object>getChannel()Map<String,String>getLinks()Map<String,Object>getRouting()StringgetSid()URIgetUrl()inthashCode()
-
-
-
Method Detail
-
creator
public static InteractionCreator creator(Map<String,Object> channel, Map<String,Object> routing)
-
fetcher
public static InteractionFetcher fetcher(String pathSid)
-
fromJson
public static Interaction fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Interaction object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Interaction object represented by the provided JSON
-
fromJson
public static Interaction fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Interaction object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Interaction object represented by the provided JSON
-
getSid
public final String getSid()
-
getUrl
public final URI getUrl()
-
-