|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.twilio.sdk.resource.Resource<C>
com.twilio.sdk.resource.InstanceResource<C>
com.twilio.sdk.resource.NextGenInstanceResource<TwilioTaskRouterClient>
com.twilio.sdk.resource.instance.taskrouter.Reservation
public class Reservation
The Reservation subresource of Task
is created whenever a Task is assigned to a Worker.
TaskRouter will provide the details of this Reservation instance subresource in the Assignment Callback
HTTP request it makes to your application server.
See the TaskRouter documentation.
| Constructor Summary | |
|---|---|
Reservation(TwilioTaskRouterClient client)
Instantiates a reservation. |
|
Reservation(TwilioTaskRouterClient client,
Map<String,Object> properties)
Instantiates a reservation. |
|
Reservation(TwilioTaskRouterClient client,
String workspaceSid,
String taskSid,
String reservationSid)
Instantiates a reservation. |
|
| Method Summary | |
|---|---|
String |
getAccountSid()
The unique ID of the Account that owns this Reservation. |
Date |
getDateCreated()
The date and time this Reservation was created. |
Date |
getDateUpdated()
The date and time this Reservation was last updated. |
String |
getReservationStatus()
The current status of this Reservation. |
String |
getSid()
The unique ID of this Reservation. |
String |
getTaskSid()
The unique ID of the Task this Reservation was created for. |
String |
getWorkerName()
The FriendlyName of the reserved Worker. |
String |
getWorkerSid()
The unique ID of the reserved Worker |
String |
getWorkspaceSid()
The unique ID of the Workspace containing this Reservation. |
| Methods inherited from class com.twilio.sdk.resource.InstanceResource |
|---|
getObject, getProperty, update, update |
| Methods inherited from class com.twilio.sdk.resource.Resource |
|---|
setRequestAccountSid |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Reservation(TwilioTaskRouterClient client)
client - the client
public Reservation(TwilioTaskRouterClient client,
Map<String,Object> properties)
client - the clientproperties - the properties
public Reservation(TwilioTaskRouterClient client,
String workspaceSid,
String taskSid,
String reservationSid)
client - the clientworkspaceSid - the workspace sidtaskSid - the task sidreservationSid - the reservation sid| Method Detail |
|---|
public String getAccountSid()
Account that owns this Reservation.
public Date getDateCreated()
public Date getDateUpdated()
public String getReservationStatus()
public String getSid()
public String getTaskSid()
public String getWorkerName()
Worker.
public String getWorkerSid()
Worker
public String getWorkspaceSid()
Workspace containing this Reservation.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||