public class MessageInteraction extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageInteraction.ResourceStatus |
static class |
MessageInteraction.Status |
| Modifier and Type | Method and Description |
|---|---|
static MessageInteractionCreator |
creator(String pathServiceSid,
String pathSessionSid,
String pathParticipantSid,
List<URI> mediaUrl)
Create a MessageInteractionCreator to execute create.
|
static MessageInteractionCreator |
creator(String pathServiceSid,
String pathSessionSid,
String pathParticipantSid,
String body)
Create a MessageInteractionCreator to execute create.
|
boolean |
equals(Object o) |
static MessageInteractionFetcher |
fetcher(String pathServiceSid,
String pathSessionSid,
String pathParticipantSid,
String pathSid)
Create a MessageInteractionFetcher to execute fetch.
|
static MessageInteraction |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a MessageInteraction object using the
provided ObjectMapper.
|
static MessageInteraction |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a MessageInteraction 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..
|
MessageInteraction.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..
|
MessageInteraction.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 |
getParticipantSid()
Returns The The participant_sid.
|
String |
getServiceSid()
Returns The Service Sid..
|
String |
getSessionSid()
Returns The Session Sid..
|
String |
getSid()
Returns The A string that uniquely identifies this Interaction..
|
MessageInteraction.Status |
getStatus()
Returns The The Status of this Interaction.
|
URI |
getUrl()
Returns The The URL of this Interaction..
|
int |
hashCode() |
static MessageInteractionReader |
reader(String pathServiceSid,
String pathSessionSid,
String pathParticipantSid)
Create a MessageInteractionReader to execute read.
|
String |
toString() |
public static MessageInteractionCreator creator(String pathServiceSid, String pathSessionSid, String pathParticipantSid, String body)
pathServiceSid - The service_sidpathSessionSid - The session_sidpathParticipantSid - The participant_sidbody - The body of the message. Up to 1600 characters long.public static MessageInteractionCreator creator(String pathServiceSid, String pathSessionSid, String pathParticipantSid, List<URI> mediaUrl)
pathServiceSid - The service_sidpathSessionSid - The session_sidpathParticipantSid - The participant_sidmediaUrl - The url of an image or video.public static MessageInteractionFetcher fetcher(String pathServiceSid, String pathSessionSid, String pathParticipantSid, String pathSid)
pathServiceSid - Service Sid.pathSessionSid - Session Sid.pathParticipantSid - Participant Sid.pathSid - A string that uniquely identifies this Interaction.public static MessageInteractionReader reader(String pathServiceSid, String pathSessionSid, String pathParticipantSid)
pathServiceSid - Service Sid.pathSessionSid - Session Sid.pathParticipantSid - Participant Sid.public static MessageInteraction fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static MessageInteraction 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 MessageInteraction.Status getStatus()
public final String getParticipantSid()
public final String getInboundParticipantSid()
public final String getInboundResourceSid()
public final MessageInteraction.ResourceStatus getInboundResourceStatus()
public final String getInboundResourceType()
public final URI getInboundResourceUrl()
public final String getOutboundParticipantSid()
public final String getOutboundResourceSid()
public final MessageInteraction.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.