Class VariableReader
- java.lang.Object
-
- com.twilio.base.Reader<Variable>
-
- com.twilio.rest.serverless.v1.service.environment.VariableReader
-
public class VariableReader extends Reader<Variable>
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 VariableReader(String pathServiceSid, String pathEnvironmentSid)
Construct a new VariableReader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page<Variable>
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.Page<Variable>
getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page from the Twilio API.Page<Variable>
nextPage(Page<Variable> page, TwilioRestClient client)
Retrieve the next page from the Twilio API.Page<Variable>
previousPage(Page<Variable> page, TwilioRestClient client)
Retrieve the previous page from the Twilio API.ResourceSet<Variable>
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
-
-
-
Method Detail
-
read
public ResourceSet<Variable> read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
-
firstPage
public Page<Variable> firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
-
getPage
public Page<Variable> getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page from the Twilio API.
-
nextPage
public Page<Variable> nextPage(Page<Variable> page, TwilioRestClient client)
Retrieve the next page from the Twilio API.
-
previousPage
public Page<Variable> previousPage(Page<Variable> page, TwilioRestClient client)
Retrieve the previous page from the Twilio API.- Specified by:
previousPage
in classReader<Variable>
- Parameters:
page
- current pageclient
- TwilioRestClient with which to make the request- Returns:
- Previous Page
-
-