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