public class WorkersStatisticsFetcher extends Fetcher<WorkersStatistics>
| Constructor and Description |
|---|
WorkersStatisticsFetcher(String pathWorkspaceSid)
Construct a new WorkersStatisticsFetcher.
|
| Modifier and Type | Method and Description |
|---|---|
WorkersStatistics |
fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.
|
WorkersStatisticsFetcher |
setEndDate(org.joda.time.DateTime endDate)
The end_date.
|
WorkersStatisticsFetcher |
setFriendlyName(String friendlyName)
The friendly_name.
|
WorkersStatisticsFetcher |
setMinutes(Integer minutes)
The minutes.
|
WorkersStatisticsFetcher |
setStartDate(org.joda.time.DateTime startDate)
The start_date.
|
WorkersStatisticsFetcher |
setTaskChannel(String taskChannel)
The task_channel.
|
WorkersStatisticsFetcher |
setTaskQueueName(String taskQueueName)
The task_queue_name.
|
WorkersStatisticsFetcher |
setTaskQueueSid(String taskQueueSid)
The task_queue_sid.
|
fetch, fetchAsync, fetchAsyncpublic WorkersStatisticsFetcher(String pathWorkspaceSid)
pathWorkspaceSid - The workspace_sidpublic WorkersStatisticsFetcher setMinutes(Integer minutes)
minutes - The minutespublic WorkersStatisticsFetcher setStartDate(org.joda.time.DateTime startDate)
startDate - The start_datepublic WorkersStatisticsFetcher setEndDate(org.joda.time.DateTime endDate)
endDate - The end_datepublic WorkersStatisticsFetcher setTaskQueueSid(String taskQueueSid)
taskQueueSid - The task_queue_sidpublic WorkersStatisticsFetcher setTaskQueueName(String taskQueueName)
taskQueueName - The task_queue_namepublic WorkersStatisticsFetcher setFriendlyName(String friendlyName)
friendlyName - The friendly_namepublic WorkersStatisticsFetcher setTaskChannel(String taskChannel)
taskChannel - The task_channelpublic WorkersStatistics fetch(TwilioRestClient client)
fetch in class Fetcher<WorkersStatistics>client - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.