Package com.twilio.rest.insights.v1.room
Class Participant
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.insights.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 classParticipant.Codecstatic classParticipant.EdgeLocationstatic classParticipant.RoomStatusstatic classParticipant.TwilioRealm
-
Method Summary
-
-
-
Method Detail
-
fetcher
public static ParticipantFetcher fetcher(String pathRoomSid, String pathParticipantSid)
-
reader
public static ParticipantReader reader(String pathRoomSid)
-
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
-
getParticipantSid
public final String getParticipantSid()
-
getParticipantIdentity
public final String getParticipantIdentity()
-
getJoinTime
public final ZonedDateTime getJoinTime()
-
getLeaveTime
public final ZonedDateTime getLeaveTime()
-
getDurationSec
public final Long getDurationSec()
-
getAccountSid
public final String getAccountSid()
-
getRoomSid
public final String getRoomSid()
-
getStatus
public final Participant.RoomStatus getStatus()
-
getCodecs
public final List<Participant.Codec> getCodecs()
-
getEndReason
public final String getEndReason()
-
getErrorCode
public final Integer getErrorCode()
-
getErrorCodeUrl
public final String getErrorCodeUrl()
-
getMediaRegion
public final Participant.TwilioRealm getMediaRegion()
-
getEdgeLocation
public final Participant.EdgeLocation getEdgeLocation()
-
getUrl
public final URI getUrl()
-
-