| Constructor and Description |
|---|
TollFreeReader(String pathCountryCode)
Construct a new TollFreeReader.
|
TollFreeReader(String pathAccountSid,
String pathCountryCode)
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 |
setAreaCode(Integer areaCode)
The area_code.
|
TollFreeReader |
setBeta(Boolean beta)
The beta.
|
TollFreeReader |
setContains(String contains)
The contains.
|
TollFreeReader |
setDistance(Integer distance)
The distance.
|
TollFreeReader |
setExcludeAllAddressRequired(Boolean excludeAllAddressRequired)
The exclude_all_address_required.
|
TollFreeReader |
setExcludeForeignAddressRequired(Boolean excludeForeignAddressRequired)
The exclude_foreign_address_required.
|
TollFreeReader |
setExcludeLocalAddressRequired(Boolean excludeLocalAddressRequired)
The exclude_local_address_required.
|
TollFreeReader |
setFaxEnabled(Boolean faxEnabled)
The fax_enabled.
|
TollFreeReader |
setInLata(String inLata)
The in_lata.
|
TollFreeReader |
setInLocality(String inLocality)
The in_locality.
|
TollFreeReader |
setInPostalCode(String inPostalCode)
The in_postal_code.
|
TollFreeReader |
setInRateCenter(String inRateCenter)
The in_rate_center.
|
TollFreeReader |
setInRegion(String inRegion)
The in_region.
|
TollFreeReader |
setMmsEnabled(Boolean mmsEnabled)
The mms_enabled.
|
TollFreeReader |
setNearLatLong(String nearLatLong)
The near_lat_long.
|
TollFreeReader |
setNearNumber(PhoneNumber nearNumber)
The near_number.
|
TollFreeReader |
setNearNumber(String nearNumber)
The near_number.
|
TollFreeReader |
setSmsEnabled(Boolean smsEnabled)
The sms_enabled.
|
TollFreeReader |
setVoiceEnabled(Boolean voiceEnabled)
The voice_enabled.
|
public TollFreeReader(String pathCountryCode)
pathCountryCode - The country_codepublic TollFreeReader setAreaCode(Integer areaCode)
areaCode - The area_codepublic TollFreeReader setContains(String contains)
contains - The containspublic TollFreeReader setSmsEnabled(Boolean smsEnabled)
smsEnabled - The sms_enabledpublic TollFreeReader setMmsEnabled(Boolean mmsEnabled)
mmsEnabled - The mms_enabledpublic TollFreeReader setVoiceEnabled(Boolean voiceEnabled)
voiceEnabled - The voice_enabledpublic TollFreeReader setExcludeAllAddressRequired(Boolean excludeAllAddressRequired)
excludeAllAddressRequired - The exclude_all_address_requiredpublic TollFreeReader setExcludeLocalAddressRequired(Boolean excludeLocalAddressRequired)
excludeLocalAddressRequired - The exclude_local_address_requiredpublic TollFreeReader setExcludeForeignAddressRequired(Boolean excludeForeignAddressRequired)
excludeForeignAddressRequired - The exclude_foreign_address_requiredpublic TollFreeReader setBeta(Boolean beta)
beta - The betapublic TollFreeReader setNearNumber(PhoneNumber nearNumber)
nearNumber - The near_numberpublic TollFreeReader setNearNumber(String nearNumber)
nearNumber - The near_numberpublic TollFreeReader setNearLatLong(String nearLatLong)
nearLatLong - The near_lat_longpublic TollFreeReader setDistance(Integer distance)
distance - The distancepublic TollFreeReader setInPostalCode(String inPostalCode)
inPostalCode - The in_postal_codepublic TollFreeReader setInRegion(String inRegion)
inRegion - The in_regionpublic TollFreeReader setInRateCenter(String inRateCenter)
inRateCenter - The in_rate_centerpublic TollFreeReader setInLata(String inLata)
inLata - The in_latapublic TollFreeReader setInLocality(String inLocality)
inLocality - The in_localitypublic TollFreeReader setFaxEnabled(Boolean faxEnabled)
faxEnabled - The fax_enabledpublic 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.