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