public class WorkflowStatisticsFetcher extends Fetcher<WorkflowStatistics>
| Constructor and Description |
|---|
WorkflowStatisticsFetcher(String workspaceSid,
String workflowSid)
Construct a new WorkflowStatisticsFetcher.
|
| Modifier and Type | Method and Description |
|---|---|
WorkflowStatistics |
execute(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 |
setStartDate(org.joda.time.DateTime startDate)
The start_date.
|
public 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 WorkflowStatistics execute(TwilioRestClient client)
execute in class Fetcher<WorkflowStatistics>client - TwilioRestClient with which to make the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.