Class Participant
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.proxy.v1.service.session.Participant
-
- All Implemented Interfaces:
Serializable
public class Participant extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ParticipantCreator
creator(String pathServiceSid, String pathSessionSid, String identifier)
static ParticipantDeleter
deleter(String pathServiceSid, String pathSessionSid, String pathSid)
boolean
equals(Object o)
static ParticipantFetcher
fetcher(String pathServiceSid, String pathSessionSid, String pathSid)
static Participant
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Participant object using the provided ObjectMapper.static Participant
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Participant object using the provided ObjectMapper.String
getAccountSid()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateDeleted()
ZonedDateTime
getDateUpdated()
String
getFriendlyName()
String
getIdentifier()
Map<String,String>
getLinks()
String
getProxyIdentifier()
String
getProxyIdentifierSid()
String
getServiceSid()
String
getSessionSid()
String
getSid()
URI
getUrl()
int
hashCode()
static ParticipantReader
reader(String pathServiceSid, String pathSessionSid)
-
-
-
Method Detail
-
creator
public static ParticipantCreator creator(String pathServiceSid, String pathSessionSid, String identifier)
-
deleter
public static ParticipantDeleter deleter(String pathServiceSid, String pathSessionSid, String pathSid)
-
fetcher
public static ParticipantFetcher fetcher(String pathServiceSid, String pathSessionSid, String pathSid)
-
reader
public static ParticipantReader reader(String pathServiceSid, String pathSessionSid)
-
fromJson
public static Participant fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Participant object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Participant object represented by the provided JSON
-
fromJson
public static Participant fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Participant object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Participant 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()
-
getFriendlyName
public final String getFriendlyName()
-
getIdentifier
public final String getIdentifier()
-
getProxyIdentifier
public final String getProxyIdentifier()
-
getProxyIdentifierSid
public final String getProxyIdentifierSid()
-
getDateDeleted
public final ZonedDateTime getDateDeleted()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-