Package com.twilio.rest.video.v1.room
Class Participant
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.video.v1.room.Participant
-
- All Implemented Interfaces:
Serializable
public class Participant extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Participant.Status
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static ParticipantFetcher
fetcher(String pathRoomSid, 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
getDateUpdated()
Integer
getDuration()
ZonedDateTime
getEndTime()
String
getIdentity()
Map<String,String>
getLinks()
String
getRoomSid()
String
getSid()
ZonedDateTime
getStartTime()
Participant.Status
getStatus()
URI
getUrl()
int
hashCode()
static ParticipantReader
reader(String pathRoomSid)
static ParticipantUpdater
updater(String pathRoomSid, String pathSid)
-
-
-
Method Detail
-
fetcher
public static ParticipantFetcher fetcher(String pathRoomSid, String pathSid)
-
reader
public static ParticipantReader reader(String pathRoomSid)
-
updater
public static ParticipantUpdater updater(String pathRoomSid, String pathSid)
-
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()
-
getRoomSid
public final String getRoomSid()
-
getAccountSid
public final String getAccountSid()
-
getStatus
public final Participant.Status getStatus()
-
getIdentity
public final String getIdentity()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getStartTime
public final ZonedDateTime getStartTime()
-
getEndTime
public final ZonedDateTime getEndTime()
-
getDuration
public final Integer getDuration()
-
getUrl
public final URI getUrl()
-
-