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