| Constructor and Description |
|---|
EventReader(String workspaceSid)
Construct a new EventReader.
|
| Modifier and Type | Method and Description |
|---|---|
EventReader |
byEndDate(org.joda.time.DateTime endDate)
The end_date.
|
EventReader |
byEventType(String eventType)
The event_type.
|
EventReader |
byMinutes(Integer minutes)
The minutes.
|
EventReader |
byReservationSid(String reservationSid)
The reservation_sid.
|
EventReader |
byStartDate(org.joda.time.DateTime startDate)
The start_date.
|
EventReader |
byTaskQueueSid(String taskQueueSid)
The task_queue_sid.
|
EventReader |
byTaskSid(String taskSid)
The task_sid.
|
EventReader |
byWorkerSid(String workerSid)
The worker_sid.
|
EventReader |
byWorkflowSid(String workflowSid)
The workflow_sid.
|
ResourceSet<Event> |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Event> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Event> |
nextPage(Page<Event> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
public EventReader(String workspaceSid)
workspaceSid - The workspace_sidpublic EventReader byEndDate(org.joda.time.DateTime endDate)
endDate - The end_datepublic EventReader byEventType(String eventType)
eventType - The event_typepublic EventReader byMinutes(Integer minutes)
minutes - The minutespublic EventReader byReservationSid(String reservationSid)
reservationSid - The reservation_sidpublic EventReader byStartDate(org.joda.time.DateTime startDate)
startDate - The start_datepublic EventReader byTaskQueueSid(String taskQueueSid)
taskQueueSid - The task_queue_sidpublic EventReader byTaskSid(String taskSid)
taskSid - The task_sidpublic EventReader byWorkerSid(String workerSid)
workerSid - The worker_sidpublic EventReader byWorkflowSid(String workflowSid)
workflowSid - The workflow_sidpublic ResourceSet<Event> execute(TwilioRestClient client)
public Page<Event> firstPage(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.