Class MessageInteraction
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.proxy.v1.service.session.participant.MessageInteraction
-
- All Implemented Interfaces:
Serializable
public class MessageInteraction extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MessageInteraction.ResourceStatus
static class
MessageInteraction.Type
-
Method Summary
-
-
-
Method Detail
-
creator
public static MessageInteractionCreator creator(String pathServiceSid, String pathSessionSid, String pathParticipantSid, String body)
-
creator
public static MessageInteractionCreator creator(String pathServiceSid, String pathSessionSid, String pathParticipantSid, List<URI> mediaUrl)
-
fetcher
public static MessageInteractionFetcher fetcher(String pathServiceSid, String pathSessionSid, String pathParticipantSid, String pathSid)
-
reader
public static MessageInteractionReader reader(String pathServiceSid, String pathSessionSid, String pathParticipantSid)
-
fromJson
public static MessageInteraction fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a MessageInteraction object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- MessageInteraction object represented by the provided JSON
-
fromJson
public static MessageInteraction fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a MessageInteraction object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- MessageInteraction 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 MessageInteraction.Type getType()
-
getParticipantSid
public final String getParticipantSid()
-
getInboundParticipantSid
public final String getInboundParticipantSid()
-
getInboundResourceSid
public final String getInboundResourceSid()
-
getInboundResourceStatus
public final MessageInteraction.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 MessageInteraction.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()
-
-