Constructor and Description |
---|
FactorReader(String pathServiceSid,
String pathIdentity)
Construct a new FactorReader.
|
Modifier and Type | Method and 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.
|
public ResourceSet<Factor> read(TwilioRestClient client)
public Page<Factor> firstPage(TwilioRestClient client)
public Page<Factor> getPage(String targetUrl, TwilioRestClient client)
public Page<Factor> nextPage(Page<Factor> page, TwilioRestClient client)
public Page<Factor> previousPage(Page<Factor> page, TwilioRestClient client)
previousPage
in class Reader<Factor>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.