public class SyncListPermissionReader extends Reader<SyncListPermission>
Constructor and Description |
---|
SyncListPermissionReader(String pathServiceSid,
String pathListSid)
Construct a new SyncListPermissionReader.
|
Modifier and Type | Method and Description |
---|---|
Page<SyncListPermission> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<SyncListPermission> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<SyncListPermission> |
nextPage(Page<SyncListPermission> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<SyncListPermission> |
previousPage(Page<SyncListPermission> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<SyncListPermission> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
public SyncListPermissionReader(String pathServiceSid, String pathListSid)
pathServiceSid
- The SID of the Sync Service with the Sync List
Permission resources to readpathListSid
- The SID of the Sync List with the Sync List Permission
resources to readpublic ResourceSet<SyncListPermission> read(TwilioRestClient client)
read
in class Reader<SyncListPermission>
client
- TwilioRestClient with which to make the requestpublic Page<SyncListPermission> firstPage(TwilioRestClient client)
firstPage
in class Reader<SyncListPermission>
client
- TwilioRestClient with which to make the requestpublic Page<SyncListPermission> getPage(String targetUrl, TwilioRestClient client)
getPage
in class Reader<SyncListPermission>
targetUrl
- API-generated URL for the requested results pageclient
- TwilioRestClient with which to make the requestpublic Page<SyncListPermission> nextPage(Page<SyncListPermission> page, TwilioRestClient client)
nextPage
in class Reader<SyncListPermission>
page
- current pageclient
- TwilioRestClient with which to make the requestpublic Page<SyncListPermission> previousPage(Page<SyncListPermission> page, TwilioRestClient client)
previousPage
in class Reader<SyncListPermission>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.