public class Reservation extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
Reservation.CallStatus |
static class |
Reservation.ConferenceEvent |
static class |
Reservation.Status |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static ReservationFetcher |
fetcher(String pathWorkspaceSid,
String pathTaskSid,
String pathSid)
Create a ReservationFetcher to execute fetch.
|
static Reservation |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Reservation object using the provided
ObjectMapper.
|
static Reservation |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Reservation 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.
|
Map<String,String> |
getLinks()
Returns The The links.
|
Reservation.Status |
getReservationStatus()
Returns The The reservation_status.
|
String |
getSid()
Returns The The sid.
|
String |
getTaskSid()
Returns The The task_sid.
|
URI |
getUrl()
Returns The The url.
|
String |
getWorkerName()
Returns The The worker_name.
|
String |
getWorkerSid()
Returns The The worker_sid.
|
String |
getWorkspaceSid()
Returns The The workspace_sid.
|
int |
hashCode() |
static ReservationReader |
reader(String pathWorkspaceSid,
String pathTaskSid)
Create a ReservationReader to execute read.
|
String |
toString() |
static ReservationUpdater |
updater(String pathWorkspaceSid,
String pathTaskSid,
String pathSid)
Create a ReservationUpdater to execute update.
|
public static ReservationReader reader(String pathWorkspaceSid, String pathTaskSid)
pathWorkspaceSid - The workspace_sidpathTaskSid - The task_sidpublic static ReservationFetcher fetcher(String pathWorkspaceSid, String pathTaskSid, String pathSid)
pathWorkspaceSid - The workspace_sidpathTaskSid - The task_sidpathSid - The sidpublic static ReservationUpdater updater(String pathWorkspaceSid, String pathTaskSid, String pathSid)
pathWorkspaceSid - The workspace_sidpathTaskSid - The task_sidpathSid - The sidpublic static Reservation fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Reservation fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getAccountSid()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final Reservation.Status getReservationStatus()
public final String getSid()
public final String getTaskSid()
public final String getWorkerName()
public final String getWorkerSid()
public final String getWorkspaceSid()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.