public class IpAccessControlListReader extends Reader<IpAccessControlList>
Constructor and Description |
---|
IpAccessControlListReader()
Construct a new IpAccessControlListReader.
|
IpAccessControlListReader(String pathAccountSid)
Construct a new IpAccessControlListReader.
|
Modifier and Type | Method and Description |
---|---|
Page<IpAccessControlList> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<IpAccessControlList> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<IpAccessControlList> |
nextPage(Page<IpAccessControlList> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<IpAccessControlList> |
previousPage(Page<IpAccessControlList> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<IpAccessControlList> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
public IpAccessControlListReader()
public IpAccessControlListReader(String pathAccountSid)
pathAccountSid
- The unique sid that identifies this accountpublic ResourceSet<IpAccessControlList> read(TwilioRestClient client)
read
in class Reader<IpAccessControlList>
client
- TwilioRestClient with which to make the requestpublic Page<IpAccessControlList> firstPage(TwilioRestClient client)
firstPage
in class Reader<IpAccessControlList>
client
- TwilioRestClient with which to make the requestpublic Page<IpAccessControlList> getPage(String targetUrl, TwilioRestClient client)
getPage
in class Reader<IpAccessControlList>
targetUrl
- API-generated URL for the requested results pageclient
- TwilioRestClient with which to make the requestpublic Page<IpAccessControlList> nextPage(Page<IpAccessControlList> page, TwilioRestClient client)
nextPage
in class Reader<IpAccessControlList>
page
- current pageclient
- TwilioRestClient with which to make the requestpublic Page<IpAccessControlList> previousPage(Page<IpAccessControlList> page, TwilioRestClient client)
previousPage
in class Reader<IpAccessControlList>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.