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