Class TaskQueueStatisticsFetcher
- java.lang.Object
-
- com.twilio.base.Fetcher<TaskQueueStatistics>
-
- com.twilio.rest.taskrouter.v1.workspace.taskqueue.TaskQueueStatisticsFetcher
-
public class TaskQueueStatisticsFetcher extends Fetcher<TaskQueueStatistics>
-
-
Constructor Summary
Constructors Constructor Description TaskQueueStatisticsFetcher(String pathWorkspaceSid, String pathTaskQueueSid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskQueueStatistics
fetch(TwilioRestClient client)
Execute a request using specified client.TaskQueueStatisticsFetcher
setEndDate(ZonedDateTime endDate)
TaskQueueStatisticsFetcher
setMinutes(Integer minutes)
TaskQueueStatisticsFetcher
setSplitByWaitTime(String splitByWaitTime)
TaskQueueStatisticsFetcher
setStartDate(ZonedDateTime startDate)
TaskQueueStatisticsFetcher
setTaskChannel(String taskChannel)
-
Methods inherited from class com.twilio.base.Fetcher
fetch, fetchAsync, fetchAsync
-
-
-
-
Method Detail
-
setEndDate
public TaskQueueStatisticsFetcher setEndDate(ZonedDateTime endDate)
-
setMinutes
public TaskQueueStatisticsFetcher setMinutes(Integer minutes)
-
setStartDate
public TaskQueueStatisticsFetcher setStartDate(ZonedDateTime startDate)
-
setTaskChannel
public TaskQueueStatisticsFetcher setTaskChannel(String taskChannel)
-
setSplitByWaitTime
public TaskQueueStatisticsFetcher setSplitByWaitTime(String splitByWaitTime)
-
fetch
public TaskQueueStatistics fetch(TwilioRestClient client)
Description copied from class:Fetcher
Execute a request using specified client.- Specified by:
fetch
in classFetcher<TaskQueueStatistics>
- Parameters:
client
- client used to make request- Returns:
- Requested object
-
-