Package com.twilio.rest.insights.v1
Class Room
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.insights.v1.Room
-
- All Implemented Interfaces:
Serializable
public class Room extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRoom.Codecstatic classRoom.CreatedMethodstatic classRoom.EdgeLocationstatic classRoom.EndReasonstatic classRoom.ProcessingStatestatic classRoom.RoomStatusstatic classRoom.RoomTypestatic classRoom.TwilioRealm
-
Method Summary
-
-
-
Method Detail
-
fetcher
public static RoomFetcher fetcher(String pathRoomSid)
-
reader
public static RoomReader reader()
-
fromJson
public static Room fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Room object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Room object represented by the provided JSON
-
fromJson
public static Room fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Room object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Room object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getRoomSid
public final String getRoomSid()
-
getRoomName
public final String getRoomName()
-
getCreateTime
public final ZonedDateTime getCreateTime()
-
getEndTime
public final ZonedDateTime getEndTime()
-
getRoomType
public final Room.RoomType getRoomType()
-
getRoomStatus
public final Room.RoomStatus getRoomStatus()
-
getStatusCallback
public final URI getStatusCallback()
-
getStatusCallbackMethod
public final HttpMethod getStatusCallbackMethod()
-
getCreatedMethod
public final Room.CreatedMethod getCreatedMethod()
-
getEndReason
public final Room.EndReason getEndReason()
-
getMaxParticipants
public final Integer getMaxParticipants()
-
getUniqueParticipants
public final Integer getUniqueParticipants()
-
getUniqueParticipantIdentities
public final Integer getUniqueParticipantIdentities()
-
getConcurrentParticipants
public final Integer getConcurrentParticipants()
-
getMaxConcurrentParticipants
public final Integer getMaxConcurrentParticipants()
-
getCodecs
public final List<Room.Codec> getCodecs()
-
getMediaRegion
public final Room.TwilioRealm getMediaRegion()
-
getDurationSec
public final Long getDurationSec()
-
getTotalParticipantDurationSec
public final Long getTotalParticipantDurationSec()
-
getTotalRecordingDurationSec
public final Long getTotalRecordingDurationSec()
-
getProcessingState
public final Room.ProcessingState getProcessingState()
-
getRecordingEnabled
public final Boolean getRecordingEnabled()
-
getEdgeLocation
public final Room.EdgeLocation getEdgeLocation()
-
getUrl
public final URI getUrl()
-
-