public class Interaction extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
Interaction.ResourceStatus |
static class |
Interaction.Status |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static InteractionFetcher |
fetcher(String pathServiceSid,
String pathSessionSid,
String pathSid)
Create a InteractionFetcher to execute fetch.
|
static Interaction |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Interaction object using the provided
ObjectMapper.
|
static Interaction |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Interaction object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The Account Sid..
|
String |
getData()
Returns The What happened in this Interaction..
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date this Interaction was created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date this Interaction was updated.
|
String |
getInboundParticipantSid()
Returns The The inbound_participant_sid.
|
String |
getInboundResourceSid()
Returns The The SID of the inbound resource..
|
Interaction.ResourceStatus |
getInboundResourceStatus()
Returns The The Inbound Resource Status of this Interaction.
|
String |
getInboundResourceType()
Returns The The Twilio object type of the inbound resource..
|
URI |
getInboundResourceUrl()
Returns The The URL of the inbound resource..
|
String |
getOutboundParticipantSid()
Returns The The outbound_participant_sid.
|
String |
getOutboundResourceSid()
Returns The The SID of the outbound resource..
|
Interaction.ResourceStatus |
getOutboundResourceStatus()
Returns The The Outbound Resource Status of this Interaction.
|
String |
getOutboundResourceType()
Returns The The Twilio object type of the outbound resource..
|
URI |
getOutboundResourceUrl()
Returns The The URL of the outbound resource..
|
String |
getServiceSid()
Returns The Service Sid..
|
String |
getSessionSid()
Returns The Session Sid..
|
String |
getSid()
Returns The A string that uniquely identifies this Interaction..
|
Interaction.Status |
getStatus()
Returns The The Status of this Interaction.
|
URI |
getUrl()
Returns The The URL of this Interaction..
|
int |
hashCode() |
static InteractionReader |
reader(String pathServiceSid,
String pathSessionSid)
Create a InteractionReader to execute read.
|
String |
toString() |
public static InteractionFetcher fetcher(String pathServiceSid, String pathSessionSid, String pathSid)
pathServiceSid - Service Sid.pathSessionSid - Session Sid.pathSid - A string that uniquely identifies this Interaction.public static InteractionReader reader(String pathServiceSid, String pathSessionSid)
pathServiceSid - Service Sid.pathSessionSid - Session Sid.public static Interaction fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Interaction fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getSid()
public final String getSessionSid()
public final String getServiceSid()
public final String getAccountSid()
public final String getData()
public final Interaction.Status getStatus()
public final String getInboundParticipantSid()
public final String getInboundResourceSid()
public final Interaction.ResourceStatus getInboundResourceStatus()
public final String getInboundResourceType()
public final URI getInboundResourceUrl()
public final String getOutboundParticipantSid()
public final String getOutboundResourceSid()
public final Interaction.ResourceStatus getOutboundResourceStatus()
public final String getOutboundResourceType()
public final URI getOutboundResourceUrl()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.