public class Interaction extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
Interaction.ResourceStatus |
static class |
Interaction.Type |
| Modifier and Type | Method and Description |
|---|---|
static InteractionDeleter |
deleter(String pathServiceSid,
String pathSessionSid,
String pathSid)
Create a InteractionDeleter to execute delete.
|
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 Further details about an 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 Inbound Participant Sid..
|
String |
getInboundResourceSid()
Returns The Inbound Resource Sid..
|
Interaction.ResourceStatus |
getInboundResourceStatus()
Returns The The Inbound Resource Status of this Interaction.
|
String |
getInboundResourceType()
Returns The The type of the Inbound Resource, Call or Message..
|
URI |
getInboundResourceUrl()
Returns The The URL of the Twilio resource..
|
String |
getOutboundParticipantSid()
Returns The Outbound Participant Sid..
|
String |
getOutboundResourceSid()
Returns The Outbound Resource Sid..
|
Interaction.ResourceStatus |
getOutboundResourceStatus()
Returns The The Outbound Resource Status of this Interaction.
|
String |
getOutboundResourceType()
Returns The The type of the Outbound Resource, Call or Message..
|
URI |
getOutboundResourceUrl()
Returns The The URL of the Twilio 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.Type |
getType()
Returns The The Type of this Interaction.
|
URI |
getUrl()
Returns The The URL of this resource..
|
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 InteractionDeleter deleter(String pathServiceSid, String pathSessionSid, String pathSid)
pathServiceSid - Service Sid.pathSessionSid - Session Sid.pathSid - A string that uniquely identifies this Interaction.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.Type getType()
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.