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 ParticipantCreatorcreator(String pathServiceSid, String pathSessionSid, String identifier)static ParticipantDeleterdeleter(String pathServiceSid, String pathSessionSid, String pathSid)booleanequals(Object o)static ParticipantFetcherfetcher(String pathServiceSid, String pathSessionSid, String pathSid)static ParticipantfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Participant object using the provided ObjectMapper.static ParticipantfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Participant object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateDeleted()ZonedDateTimegetDateUpdated()StringgetFriendlyName()StringgetIdentifier()Map<String,String>getLinks()StringgetProxyIdentifier()StringgetProxyIdentifierSid()StringgetServiceSid()StringgetSessionSid()StringgetSid()URIgetUrl()inthashCode()static ParticipantReaderreader(String pathServiceSid, String pathSessionSid)
-
-
-
Method Detail
-
creator
public static ParticipantCreator creator(String pathServiceSid, String pathSessionSid, String identifier)
-
fetcher
public static ParticipantFetcher fetcher(String pathServiceSid, String pathSessionSid, String pathSid)
-
deleter
public static ParticipantDeleter deleter(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()
-
-