public class WorkersStatisticsFetcher extends Fetcher<WorkersStatistics>
Constructor and Description |
---|
WorkersStatisticsFetcher(String workspaceSid)
Construct a new WorkersStatisticsFetcher.
|
Modifier and Type | Method and Description |
---|---|
WorkersStatistics |
execute(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 |
setTaskQueueName(String taskQueueName)
The task_queue_name.
|
WorkersStatisticsFetcher |
setTaskQueueSid(String taskQueueSid)
The task_queue_sid.
|
public WorkersStatisticsFetcher(String workspaceSid)
workspaceSid
- 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 WorkersStatistics execute(TwilioRestClient client)
execute
in class Fetcher<WorkersStatistics>
client
- TwilioRestClient with which to make the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.