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