Class EventReader
- java.lang.Object
-
- com.twilio.base.Reader<Event>
-
- com.twilio.rest.taskrouter.v1.workspace.EventReader
-
-
Constructor Summary
Constructors Constructor Description EventReader(String pathWorkspaceSid)
-
Method Summary
-
-
-
Constructor Detail
-
EventReader
public EventReader(String pathWorkspaceSid)
-
-
Method Detail
-
setEndDate
public EventReader setEndDate(ZonedDateTime endDate)
-
setEventType
public EventReader setEventType(String eventType)
-
setMinutes
public EventReader setMinutes(Integer minutes)
-
setReservationSid
public EventReader setReservationSid(String reservationSid)
-
setStartDate
public EventReader setStartDate(ZonedDateTime startDate)
-
setTaskQueueSid
public EventReader setTaskQueueSid(String taskQueueSid)
-
setTaskSid
public EventReader setTaskSid(String taskSid)
-
setWorkerSid
public EventReader setWorkerSid(String workerSid)
-
setWorkflowSid
public EventReader setWorkflowSid(String workflowSid)
-
setTaskChannel
public EventReader setTaskChannel(String taskChannel)
-
setSid
public EventReader setSid(String sid)
-
setPageSize
public EventReader setPageSize(Integer pageSize)
-
read
public ResourceSet<Event> read(TwilioRestClient client)
Description copied from class:ReaderExecute a request using specified client.
-
firstPage
public Page<Event> firstPage(TwilioRestClient client)
Description copied from class:ReaderFetch the first page of resources using specified client.
-
previousPage
public Page<Event> previousPage(Page<Event> page, TwilioRestClient client)
Description copied from class:ReaderFetch the prior page of resources using specified client.- Specified by:
previousPagein classReader<Event>- Parameters:
page- current page of resourcesclient- client used to fetch- Returns:
- Page containing the previous pageSize of resources
-
nextPage
public Page<Event> nextPage(Page<Event> page, TwilioRestClient client)
Description copied from class:ReaderFetch the following page of resources using specified client.
-
getPage
public Page<Event> getPage(String targetUrl, TwilioRestClient client)
Description copied from class:ReaderRetrieve the target page of resources.
-
-