public class ParticipantReader extends Reader<Participant>
| Constructor and Description |
|---|
ParticipantReader(String pathRoomSid)
Construct a new ParticipantReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<Participant> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Participant> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Participant> |
nextPage(Page<Participant> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Participant> |
previousPage(Page<Participant> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Participant> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
ParticipantReader |
setDateCreatedAfter(org.joda.time.DateTime dateCreatedAfter)
The date_created_after.
|
ParticipantReader |
setDateCreatedBefore(org.joda.time.DateTime dateCreatedBefore)
The date_created_before.
|
ParticipantReader |
setIdentity(String identity)
The identity.
|
ParticipantReader |
setStatus(Participant.Status status)
The status.
|
public ParticipantReader(String pathRoomSid)
pathRoomSid - The room_sidpublic ParticipantReader setStatus(Participant.Status status)
status - The statuspublic ParticipantReader setIdentity(String identity)
identity - The identitypublic ParticipantReader setDateCreatedAfter(org.joda.time.DateTime dateCreatedAfter)
dateCreatedAfter - The date_created_afterpublic ParticipantReader setDateCreatedBefore(org.joda.time.DateTime dateCreatedBefore)
dateCreatedBefore - The date_created_beforepublic ResourceSet<Participant> read(TwilioRestClient client)
read in class Reader<Participant>client - TwilioRestClient with which to make the requestpublic Page<Participant> firstPage(TwilioRestClient client)
firstPage in class Reader<Participant>client - TwilioRestClient with which to make the requestpublic Page<Participant> getPage(String targetUrl, TwilioRestClient client)
getPage in class Reader<Participant>targetUrl - API-generated URL for the requested results pageclient - TwilioRestClient with which to make the requestpublic Page<Participant> nextPage(Page<Participant> page, TwilioRestClient client)
nextPage in class Reader<Participant>page - current pageclient - TwilioRestClient with which to make the requestpublic Page<Participant> previousPage(Page<Participant> page, TwilioRestClient client)
previousPage in class Reader<Participant>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.