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