public class MessageInteraction extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageInteraction.ResourceStatus |
static class |
MessageInteraction.Type |
| 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 Further details about an interaction..
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date this Message Interaction was created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date this Message Interaction was updated.
|
String |
getInboundParticipantSid()
Returns The Inbound Participant Sid..
|
String |
getInboundResourceSid()
Returns The Inbound Resource Sid..
|
MessageInteraction.ResourceStatus |
getInboundResourceStatus()
Returns The The Inbound Resource Status of this Message 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..
|
MessageInteraction.ResourceStatus |
getOutboundResourceStatus()
Returns The The Outbound Resource Status of this Message 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 |
getParticipantSid()
Returns 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 Message Interaction..
|
MessageInteraction.Type |
getType()
Returns The The Type of this Message Interaction.
|
URI |
getUrl()
Returns The The URL of this resource..
|
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 - Service Sid.pathSessionSid - Session Sid.pathParticipantSid - Participant Sid.body - The bodypublic static MessageInteractionCreator creator(String pathServiceSid, String pathSessionSid, String pathParticipantSid, List<URI> mediaUrl)
pathServiceSid - Service Sid.pathSessionSid - Session Sid.pathParticipantSid - Participant Sid.mediaUrl - The media_urlpublic 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 Message 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.Type getType()
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.