Class FunctionReader
- java.lang.Object
-
- com.twilio.base.Reader<Function>
-
- com.twilio.rest.serverless.v1.service.FunctionReader
-
public class FunctionReader extends Reader<Function>
PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].
-
-
Constructor Summary
Constructors Constructor Description FunctionReader(String pathServiceSid)
Construct a new FunctionReader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page<Function>
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.Page<Function>
getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page from the Twilio API.Page<Function>
nextPage(Page<Function> page, TwilioRestClient client)
Retrieve the next page from the Twilio API.Page<Function>
previousPage(Page<Function> page, TwilioRestClient client)
Retrieve the previous page from the Twilio API.ResourceSet<Function>
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
-
-
-
Constructor Detail
-
FunctionReader
public FunctionReader(String pathServiceSid)
Construct a new FunctionReader.- Parameters:
pathServiceSid
- Service Sid.
-
-
Method Detail
-
read
public ResourceSet<Function> read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
-
firstPage
public Page<Function> firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
-
getPage
public Page<Function> getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page from the Twilio API.
-
nextPage
public Page<Function> nextPage(Page<Function> page, TwilioRestClient client)
Retrieve the next page from the Twilio API.
-
previousPage
public Page<Function> previousPage(Page<Function> page, TwilioRestClient client)
Retrieve the previous page from the Twilio API.- Specified by:
previousPage
in classReader<Function>
- Parameters:
page
- current pageclient
- TwilioRestClient with which to make the request- Returns:
- Previous Page
-
-