public class ReservationFetcher extends Fetcher<Reservation>
Constructor and Description |
---|
ReservationFetcher(String pathWorkspaceSid,
String pathTaskSid,
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 pathTaskSid, String pathSid)
pathWorkspaceSid
- The SID of the Workspace with the TaskReservation
resource to fetchpathTaskSid
- The SID of the reserved Task resource with the
TaskReservation resource to fetchpathSid
- The SID of the TaskReservation 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.