public class InteractionReader extends Reader<Interaction>
| Constructor and Description |
|---|
InteractionReader(String pathServiceSid,
String pathSessionSid)
Construct a new InteractionReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<Interaction> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Interaction> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Interaction> |
nextPage(Page<Interaction> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Interaction> |
previousPage(Page<Interaction> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Interaction> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
InteractionReader |
setInboundParticipantStatus(Interaction.ResourceStatus inboundParticipantStatus)
The Inbound Participant Status of this Interaction.
|
InteractionReader |
setOutboundParticipantStatus(Interaction.ResourceStatus outboundParticipantStatus)
The Outbound Participant Status of this Interaction.
|
public InteractionReader setInboundParticipantStatus(Interaction.ResourceStatus inboundParticipantStatus)
inboundParticipantStatus - The Inbound Participant Status of this
Interactionpublic InteractionReader setOutboundParticipantStatus(Interaction.ResourceStatus outboundParticipantStatus)
outboundParticipantStatus - The Outbound Participant Status of this
Interactionpublic ResourceSet<Interaction> read(TwilioRestClient client)
read in class Reader<Interaction>client - TwilioRestClient with which to make the requestpublic Page<Interaction> firstPage(TwilioRestClient client)
firstPage in class Reader<Interaction>client - TwilioRestClient with which to make the requestpublic Page<Interaction> getPage(String targetUrl, TwilioRestClient client)
getPage in class Reader<Interaction>targetUrl - API-generated URL for the requested results pageclient - TwilioRestClient with which to make the requestpublic Page<Interaction> nextPage(Page<Interaction> page, TwilioRestClient client)
nextPage in class Reader<Interaction>page - current pageclient - TwilioRestClient with which to make the requestpublic Page<Interaction> previousPage(Page<Interaction> page, TwilioRestClient client)
previousPage in class Reader<Interaction>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.