public class AssistantReader extends Reader<Assistant>
Constructor and Description |
---|
AssistantReader() |
Modifier and Type | Method and Description |
---|---|
Page<Assistant> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Assistant> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Assistant> |
nextPage(Page<Assistant> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Assistant> |
previousPage(Page<Assistant> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Assistant> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
public ResourceSet<Assistant> read(TwilioRestClient client)
public Page<Assistant> firstPage(TwilioRestClient client)
public Page<Assistant> getPage(String targetUrl, TwilioRestClient client)
public Page<Assistant> nextPage(Page<Assistant> page, TwilioRestClient client)
public Page<Assistant> previousPage(Page<Assistant> page, TwilioRestClient client)
previousPage
in class Reader<Assistant>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.