public class WorkerStatisticsFetcher extends Fetcher<WorkerStatistics>
| Constructor and Description |
|---|
WorkerStatisticsFetcher(String pathWorkspaceSid,
String pathWorkerSid)
Construct a new WorkerStatisticsFetcher.
|
| Modifier and Type | Method and Description |
|---|---|
WorkerStatistics |
fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.
|
WorkerStatisticsFetcher |
setEndDate(org.joda.time.DateTime endDate)
The end_date.
|
WorkerStatisticsFetcher |
setMinutes(Integer minutes)
The minutes.
|
WorkerStatisticsFetcher |
setStartDate(org.joda.time.DateTime startDate)
The start_date.
|
WorkerStatisticsFetcher |
setTaskChannel(String taskChannel)
The task_channel.
|
fetch, fetchAsync, fetchAsyncpublic WorkerStatisticsFetcher setMinutes(Integer minutes)
minutes - The minutespublic WorkerStatisticsFetcher setStartDate(org.joda.time.DateTime startDate)
startDate - The start_datepublic WorkerStatisticsFetcher setEndDate(org.joda.time.DateTime endDate)
endDate - The end_datepublic WorkerStatisticsFetcher setTaskChannel(String taskChannel)
taskChannel - The task_channelpublic WorkerStatistics fetch(TwilioRestClient client)
fetch in class Fetcher<WorkerStatistics>client - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.