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