public class AvailablePhoneNumberCountryReader extends Reader<AvailablePhoneNumberCountry>
Constructor and Description |
---|
AvailablePhoneNumberCountryReader(String accountSid)
Construct a new AvailablePhoneNumberCountryReader.
|
Modifier and Type | Method and Description |
---|---|
ResourceSet<AvailablePhoneNumberCountry> |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<AvailablePhoneNumberCountry> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<AvailablePhoneNumberCountry> |
nextPage(Page<AvailablePhoneNumberCountry> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
public AvailablePhoneNumberCountryReader(String accountSid)
accountSid
- The account_sidpublic ResourceSet<AvailablePhoneNumberCountry> execute(TwilioRestClient client)
execute
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> nextPage(Page<AvailablePhoneNumberCountry> page, TwilioRestClient client)
nextPage
in class Reader<AvailablePhoneNumberCountry>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.