public class Room extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
Room.RoomStatus |
static class |
Room.RoomType |
static class |
Room.VideoCodec |
| Modifier and Type | Method and Description |
|---|---|
static RoomCreator |
creator()
Create a RoomCreator to execute create.
|
boolean |
equals(Object o) |
static RoomFetcher |
fetcher(String pathSid)
Create a RoomFetcher to execute fetch.
|
static Room |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Room object using the provided
ObjectMapper.
|
static Room |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Room object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
Integer |
getDuration()
Returns The The duration.
|
Boolean |
getEnableTurn()
Returns The The enable_turn.
|
org.joda.time.DateTime |
getEndTime()
Returns The The end_time.
|
Map<String,String> |
getLinks()
Returns The The links.
|
Integer |
getMaxParticipants()
Returns The The max_participants.
|
String |
getMediaRegion()
Returns The The media_region.
|
Boolean |
getRecordParticipantsOnConnect()
Returns The The record_participants_on_connect.
|
String |
getSid()
Returns The The sid.
|
Room.RoomStatus |
getStatus()
Returns The The status.
|
URI |
getStatusCallback()
Returns The The status_callback.
|
HttpMethod |
getStatusCallbackMethod()
Returns The The status_callback_method.
|
Room.RoomType |
getType()
Returns The The type.
|
String |
getUniqueName()
Returns The The unique_name.
|
URI |
getUrl()
Returns The The url.
|
List<Room.VideoCodec> |
getVideoCodecs()
Returns The The video_codecs.
|
int |
hashCode() |
static RoomReader |
reader()
Create a RoomReader to execute read.
|
String |
toString() |
static RoomUpdater |
updater(String pathSid,
Room.RoomStatus status)
Create a RoomUpdater to execute update.
|
public static RoomFetcher fetcher(String pathSid)
pathSid - The sidpublic static RoomCreator creator()
public static RoomReader reader()
public static RoomUpdater updater(String pathSid, Room.RoomStatus status)
pathSid - The sidstatus - The statuspublic static Room fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Room fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getSid()
public final Room.RoomStatus getStatus()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getAccountSid()
public final Boolean getEnableTurn()
public final String getUniqueName()
public final URI getStatusCallback()
public final HttpMethod getStatusCallbackMethod()
public final org.joda.time.DateTime getEndTime()
public final Integer getDuration()
public final Room.RoomType getType()
public final Integer getMaxParticipants()
public final Boolean getRecordParticipantsOnConnect()
public final List<Room.VideoCodec> getVideoCodecs()
public final String getMediaRegion()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.