public class OutgoingCallerIdReader extends Reader<OutgoingCallerId>
| Constructor and Description |
|---|
OutgoingCallerIdReader(String accountSid)
Construct a new OutgoingCallerIdReader.
|
| Modifier and Type | Method and Description |
|---|---|
OutgoingCallerIdReader |
byFriendlyName(String friendlyName)
Only show the caller id resource that exactly matches this name.
|
OutgoingCallerIdReader |
byPhoneNumber(PhoneNumber phoneNumber)
Only show the caller id resource that exactly matches this phone number.
|
ResourceSet<OutgoingCallerId> |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<OutgoingCallerId> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<OutgoingCallerId> |
nextPage(Page<OutgoingCallerId> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
public OutgoingCallerIdReader(String accountSid)
accountSid - The account_sidpublic OutgoingCallerIdReader byPhoneNumber(PhoneNumber phoneNumber)
phoneNumber - Filter by phone numberpublic OutgoingCallerIdReader byFriendlyName(String friendlyName)
friendlyName - Filter by friendly namepublic ResourceSet<OutgoingCallerId> execute(TwilioRestClient client)
execute in class Reader<OutgoingCallerId>client - TwilioRestClient with which to make the requestpublic Page<OutgoingCallerId> firstPage(TwilioRestClient client)
firstPage in class Reader<OutgoingCallerId>client - TwilioRestClient with which to make the requestpublic Page<OutgoingCallerId> nextPage(Page<OutgoingCallerId> page, TwilioRestClient client)
nextPage in class Reader<OutgoingCallerId>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.