| Constructor and Description |
|---|
SyncListReader(String pathServiceSid)
Construct a new SyncListReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<SyncList> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<SyncList> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<SyncList> |
nextPage(Page<SyncList> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<SyncList> |
previousPage(Page<SyncList> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<SyncList> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
public SyncListReader(String pathServiceSid)
pathServiceSid - The service_sidpublic ResourceSet<SyncList> read(TwilioRestClient client)
public Page<SyncList> firstPage(TwilioRestClient client)
public Page<SyncList> getPage(String targetUrl, TwilioRestClient client)
public Page<SyncList> nextPage(Page<SyncList> page, TwilioRestClient client)
public Page<SyncList> previousPage(Page<SyncList> page, TwilioRestClient client)
previousPage in class Reader<SyncList>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.