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