| Constructor and Description |
|---|
TollFreeReader()
Construct a new TollFreeReader.
|
TollFreeReader(String pathAccountSid)
Construct a new TollFreeReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<TollFree> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<TollFree> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<TollFree> |
nextPage(Page<TollFree> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<TollFree> |
previousPage(Page<TollFree> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<TollFree> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
TollFreeReader |
setBeta(Boolean beta)
The beta.
|
TollFreeReader |
setFriendlyName(String friendlyName)
The friendly_name.
|
TollFreeReader |
setOrigin(String origin)
The origin.
|
TollFreeReader |
setPhoneNumber(PhoneNumber phoneNumber)
The phone_number.
|
TollFreeReader |
setPhoneNumber(String phoneNumber)
The phone_number.
|
public TollFreeReader()
public TollFreeReader(String pathAccountSid)
pathAccountSid - The account_sidpublic TollFreeReader setBeta(Boolean beta)
beta - The betapublic TollFreeReader setFriendlyName(String friendlyName)
friendlyName - The friendly_namepublic TollFreeReader setPhoneNumber(PhoneNumber phoneNumber)
phoneNumber - The phone_numberpublic TollFreeReader setPhoneNumber(String phoneNumber)
phoneNumber - The phone_numberpublic TollFreeReader setOrigin(String origin)
origin - The originpublic ResourceSet<TollFree> read(TwilioRestClient client)
public Page<TollFree> firstPage(TwilioRestClient client)
public Page<TollFree> getPage(String targetUrl, TwilioRestClient client)
public Page<TollFree> nextPage(Page<TollFree> page, TwilioRestClient client)
public Page<TollFree> previousPage(Page<TollFree> page, TwilioRestClient client)
previousPage in class Reader<TollFree>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.