Class Interaction
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.proxy.v1.service.session.Interaction
-
- All Implemented Interfaces:
Serializable
public class Interaction extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Interaction.ResourceStatus
static class
Interaction.Type
-
Method Summary
-
-
-
Method Detail
-
deleter
public static InteractionDeleter deleter(String pathServiceSid, String pathSessionSid, String pathSid)
-
fetcher
public static InteractionFetcher fetcher(String pathServiceSid, String pathSessionSid, String pathSid)
-
reader
public static InteractionReader reader(String pathServiceSid, String pathSessionSid)
-
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()
-
getSessionSid
public final String getSessionSid()
-
getServiceSid
public final String getServiceSid()
-
getAccountSid
public final String getAccountSid()
-
getData
public final String getData()
-
getType
public final Interaction.Type getType()
-
getInboundParticipantSid
public final String getInboundParticipantSid()
-
getInboundResourceSid
public final String getInboundResourceSid()
-
getInboundResourceStatus
public final Interaction.ResourceStatus getInboundResourceStatus()
-
getInboundResourceType
public final String getInboundResourceType()
-
getInboundResourceUrl
public final URI getInboundResourceUrl()
-
getOutboundParticipantSid
public final String getOutboundParticipantSid()
-
getOutboundResourceSid
public final String getOutboundResourceSid()
-
getOutboundResourceStatus
public final Interaction.ResourceStatus getOutboundResourceStatus()
-
getOutboundResourceType
public final String getOutboundResourceType()
-
getOutboundResourceUrl
public final URI getOutboundResourceUrl()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-