Class WorkerStatisticsFetcher
- java.lang.Object
-
- com.twilio.base.Fetcher<WorkerStatistics>
-
- com.twilio.rest.taskrouter.v1.workspace.worker.WorkerStatisticsFetcher
-
public class WorkerStatisticsFetcher extends Fetcher<WorkerStatistics>
-
-
Constructor Summary
Constructors Constructor Description WorkerStatisticsFetcher(String pathWorkspaceSid, String pathWorkerSid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkerStatisticsfetch(TwilioRestClient client)Execute a request using specified client.WorkerStatisticsFetchersetEndDate(ZonedDateTime endDate)WorkerStatisticsFetchersetMinutes(Integer minutes)WorkerStatisticsFetchersetStartDate(ZonedDateTime startDate)WorkerStatisticsFetchersetTaskChannel(String taskChannel)-
Methods inherited from class com.twilio.base.Fetcher
fetch, fetchAsync, fetchAsync
-
-
-
-
Method Detail
-
setMinutes
public WorkerStatisticsFetcher setMinutes(Integer minutes)
-
setStartDate
public WorkerStatisticsFetcher setStartDate(ZonedDateTime startDate)
-
setEndDate
public WorkerStatisticsFetcher setEndDate(ZonedDateTime endDate)
-
setTaskChannel
public WorkerStatisticsFetcher setTaskChannel(String taskChannel)
-
fetch
public WorkerStatistics fetch(TwilioRestClient client)
Description copied from class:FetcherExecute a request using specified client.- Specified by:
fetchin classFetcher<WorkerStatistics>- Parameters:
client- client used to make request- Returns:
- Requested object
-
-