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