public class WorkerStatisticsFetcher extends Fetcher<WorkerStatistics>
| Constructor and Description |
|---|
WorkerStatisticsFetcher(String workspaceSid,
String workerSid)
Construct a new WorkerStatisticsFetcher.
|
| Modifier and Type | Method and Description |
|---|---|
WorkerStatistics |
execute(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.
|
public 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 WorkerStatistics execute(TwilioRestClient client)
execute in class Fetcher<WorkerStatistics>client - TwilioRestClient with which to make the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.