Class ConversationWithParticipants
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.conversations.v1.service.ConversationWithParticipants
-
- All Implemented Interfaces:
Serializable
public class ConversationWithParticipants extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConversationWithParticipants.State
static class
ConversationWithParticipants.WebhookEnabledType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConversationWithParticipantsCreator
creator(String pathChatServiceSid)
boolean
equals(Object o)
static ConversationWithParticipants
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ConversationWithParticipants object using the provided ObjectMapper.static ConversationWithParticipants
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ConversationWithParticipants object using the provided ObjectMapper.String
getAccountSid()
String
getAttributes()
Map<String,Object>
getBindings()
String
getChatServiceSid()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getFriendlyName()
Map<String,String>
getLinks()
String
getMessagingServiceSid()
String
getSid()
ConversationWithParticipants.State
getState()
Map<String,Object>
getTimers()
String
getUniqueName()
URI
getUrl()
int
hashCode()
-
-
-
Method Detail
-
creator
public static ConversationWithParticipantsCreator creator(String pathChatServiceSid)
-
fromJson
public static ConversationWithParticipants fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ConversationWithParticipants object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- ConversationWithParticipants object represented by the provided JSON
-
fromJson
public static ConversationWithParticipants fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ConversationWithParticipants object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- ConversationWithParticipants object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getChatServiceSid
public final String getChatServiceSid()
-
getMessagingServiceSid
public final String getMessagingServiceSid()
-
getSid
public final String getSid()
-
getFriendlyName
public final String getFriendlyName()
-
getUniqueName
public final String getUniqueName()
-
getAttributes
public final String getAttributes()
-
getState
public final ConversationWithParticipants.State getState()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-