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