public class ParticipantReader extends Reader<Participant>
| Constructor and Description |
|---|
ParticipantReader(String pathServiceSid,
String pathSessionSid)
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 |
setIdentifier(String identifier)
The Participant's contact identifier, normally a phone number..
|
ParticipantReader |
setParticipantType(Participant.ParticipantType participantType)
The Type of this Participant.
|
public ParticipantReader setIdentifier(String identifier)
identifier - The Participant's contact identifier, normally a phone
number.public ParticipantReader setParticipantType(Participant.ParticipantType participantType)
participantType - The Type of this Participantpublic 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.