public class ParticipantConversation extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
ParticipantConversation.State |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ParticipantConversation |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ParticipantConversation object using the
provided ObjectMapper.
|
static ParticipantConversation |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ParticipantConversation object using the
provided ObjectMapper.
|
String |
getAccountSid()
Returns The unique ID of the Account responsible for this conversation..
|
String |
getChatServiceSid()
Returns The unique ID of the Conversation Service this conversation belongs
to..
|
String |
getConversationAttributes()
Returns An optional string metadata field you can use to store any data you
wish..
|
String |
getConversationCreatedBy()
Returns Creator of this conversation..
|
ZonedDateTime |
getConversationDateCreated()
Returns The date that this conversation was created..
|
ZonedDateTime |
getConversationDateUpdated()
Returns The date that this conversation was last updated..
|
String |
getConversationFriendlyName()
Returns The human-readable name of this conversation..
|
String |
getConversationSid()
Returns The unique ID of the Conversation this Participant belongs to..
|
ParticipantConversation.State |
getConversationState()
Returns The current state of this User Conversation.
|
Map<String,Object> |
getConversationTimers()
Returns Timer date values for this conversation..
|
String |
getConversationUniqueName()
Returns An application-defined string that uniquely identifies the
Conversation resource..
|
Map<String,String> |
getLinks()
Returns Absolute URLs to access the participant and conversation of this
Participant Conversation..
|
String |
getParticipantIdentity()
Returns A unique string identifier for the conversation participant as
Conversation User..
|
Map<String,Object> |
getParticipantMessagingBinding()
Returns Information about how this participant exchanges messages with the
conversation..
|
String |
getParticipantSid()
Returns The unique ID of the Participant..
|
String |
getParticipantUserSid()
Returns The unique ID for the conversation participant as Conversation User..
|
int |
hashCode() |
static ParticipantConversationReader |
reader(String pathChatServiceSid)
Create a ParticipantConversationReader to execute read.
|
public static ParticipantConversationReader reader(String pathChatServiceSid)
pathChatServiceSid
- The SID of the Conversation Service that the
resource is associated with.public static ParticipantConversation fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static ParticipantConversation fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final String getChatServiceSid()
public final String getParticipantSid()
public final String getParticipantUserSid()
public final String getParticipantIdentity()
public final Map<String,Object> getParticipantMessagingBinding()
public final String getConversationSid()
public final String getConversationUniqueName()
public final String getConversationFriendlyName()
public final String getConversationAttributes()
public final ZonedDateTime getConversationDateCreated()
public final ZonedDateTime getConversationDateUpdated()
public final String getConversationCreatedBy()
public final ParticipantConversation.State getConversationState()
public final Map<String,Object> getConversationTimers()
public final Map<String,String> getLinks()
Copyright © 2019 Twilio, Inc. All Rights Reserved.