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