Package com.twilio.rest.wireless.v1
Class RatePlanReader
- java.lang.Object
-
- com.twilio.base.Reader<RatePlan>
-
- com.twilio.rest.wireless.v1.RatePlanReader
-
-
Constructor Summary
Constructors Constructor Description RatePlanReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
read
public ResourceSet<RatePlan> read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
-
firstPage
public Page<RatePlan> firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
-
getPage
public Page<RatePlan> getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page from the Twilio API.
-
nextPage
public Page<RatePlan> nextPage(Page<RatePlan> page, TwilioRestClient client)
Retrieve the next page from the Twilio API.
-
previousPage
public Page<RatePlan> previousPage(Page<RatePlan> page, TwilioRestClient client)
Retrieve the previous page from the Twilio API.- Specified by:
previousPage
in classReader<RatePlan>
- Parameters:
page
- current pageclient
- TwilioRestClient with which to make the request- Returns:
- Previous Page
-
-