Package com.twilio.rest.video.v1
Class Room
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.video.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.RoomStatusstatic classRoom.RoomTypestatic classRoom.VideoCodec
-
Method Summary
-
-
-
Method Detail
-
creator
public static RoomCreator creator()
-
fetcher
public static RoomFetcher fetcher(String pathSid)
-
reader
public static RoomReader reader()
-
updater
public static RoomUpdater updater(String pathSid, Room.RoomStatus status)
-
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
-
getSid
public final String getSid()
-
getStatus
public final Room.RoomStatus getStatus()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getAccountSid
public final String getAccountSid()
-
getEnableTurn
public final Boolean getEnableTurn()
-
getUniqueName
public final String getUniqueName()
-
getStatusCallback
public final URI getStatusCallback()
-
getStatusCallbackMethod
public final HttpMethod getStatusCallbackMethod()
-
getEndTime
public final ZonedDateTime getEndTime()
-
getDuration
public final Integer getDuration()
-
getType
public final Room.RoomType getType()
-
getMaxParticipants
public final Integer getMaxParticipants()
-
getMaxParticipantDuration
public final Integer getMaxParticipantDuration()
-
getMaxConcurrentPublishedTracks
public final Integer getMaxConcurrentPublishedTracks()
-
getRecordParticipantsOnConnect
public final Boolean getRecordParticipantsOnConnect()
-
getVideoCodecs
public final List<Room.VideoCodec> getVideoCodecs()
-
getMediaRegion
public final String getMediaRegion()
-
getAudioOnly
public final Boolean getAudioOnly()
-
getEmptyRoomTimeout
public final Integer getEmptyRoomTimeout()
-
getUnusedRoomTimeout
public final Integer getUnusedRoomTimeout()
-
getLargeRoom
public final Boolean getLargeRoom()
-
getUrl
public final URI getUrl()
-
-