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.
|
public ParticipantReader(String pathRoomSid)
pathRoomSid
- The SID of the Room resource.public 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 © 2019 Twilio, Inc. All Rights Reserved.