public class OutgoingCallerIdReader extends Reader<OutgoingCallerId>
| Constructor and Description |
|---|
OutgoingCallerIdReader()
Construct a new OutgoingCallerIdReader.
|
OutgoingCallerIdReader(String pathAccountSid)
Construct a new OutgoingCallerIdReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<OutgoingCallerId> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<OutgoingCallerId> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<OutgoingCallerId> |
nextPage(Page<OutgoingCallerId> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<OutgoingCallerId> |
previousPage(Page<OutgoingCallerId> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<OutgoingCallerId> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
OutgoingCallerIdReader |
setFriendlyName(String friendlyName)
Only show the caller id resource that exactly matches this name.
|
OutgoingCallerIdReader |
setPhoneNumber(PhoneNumber phoneNumber)
Only show the caller id resource that exactly matches this phone number.
|
OutgoingCallerIdReader |
setPhoneNumber(String phoneNumber)
Only show the caller id resource that exactly matches this phone number.
|
public OutgoingCallerIdReader()
public OutgoingCallerIdReader(String pathAccountSid)
pathAccountSid - The account_sidpublic OutgoingCallerIdReader setPhoneNumber(PhoneNumber phoneNumber)
phoneNumber - Filter by phone numberpublic OutgoingCallerIdReader setPhoneNumber(String phoneNumber)
phoneNumber - Filter by phone numberpublic OutgoingCallerIdReader setFriendlyName(String friendlyName)
friendlyName - Filter by friendly namepublic ResourceSet<OutgoingCallerId> read(TwilioRestClient client)
read 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> getPage(String targetUrl, TwilioRestClient client)
getPage in class Reader<OutgoingCallerId>targetUrl - API-generated URL for the requested results pageclient - 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 requestpublic Page<OutgoingCallerId> previousPage(Page<OutgoingCallerId> page, TwilioRestClient client)
previousPage in class Reader<OutgoingCallerId>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.