public class ReservationFetcher extends Fetcher<Reservation>
Constructor and Description |
---|
ReservationFetcher(String pathWorkspaceSid,
String pathWorkerSid,
String pathSid)
Construct a new ReservationFetcher.
|
Modifier and Type | Method and Description |
---|---|
Reservation |
fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.
|
fetch, fetchAsync, fetchAsync
public ReservationFetcher(String pathWorkspaceSid, String pathWorkerSid, String pathSid)
pathWorkspaceSid
- The SID of the Workspace with the WorkerReservation
resource to fetchpathWorkerSid
- The SID of the reserved Worker resource with the
WorkerReservation resource to fetchpathSid
- The SID of the WorkerReservation resource to fetchpublic Reservation fetch(TwilioRestClient client)
fetch
in class Fetcher<Reservation>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.