| Constructor and Description |
|---|
LocalReader(String pathCountryCode)
Construct a new LocalReader.
|
LocalReader(String pathAccountSid,
String pathCountryCode)
Construct a new LocalReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<Local> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Local> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Local> |
nextPage(Page<Local> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Local> |
previousPage(Page<Local> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Local> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
LocalReader |
setAreaCode(Integer areaCode)
The area_code.
|
LocalReader |
setBeta(Boolean beta)
The beta.
|
LocalReader |
setContains(String contains)
The contains.
|
LocalReader |
setDistance(Integer distance)
The distance.
|
LocalReader |
setExcludeAllAddressRequired(Boolean excludeAllAddressRequired)
The exclude_all_address_required.
|
LocalReader |
setExcludeForeignAddressRequired(Boolean excludeForeignAddressRequired)
The exclude_foreign_address_required.
|
LocalReader |
setExcludeLocalAddressRequired(Boolean excludeLocalAddressRequired)
The exclude_local_address_required.
|
LocalReader |
setFaxEnabled(Boolean faxEnabled)
The fax_enabled.
|
LocalReader |
setInLata(String inLata)
The in_lata.
|
LocalReader |
setInLocality(String inLocality)
The in_locality.
|
LocalReader |
setInPostalCode(String inPostalCode)
The in_postal_code.
|
LocalReader |
setInRateCenter(String inRateCenter)
The in_rate_center.
|
LocalReader |
setInRegion(String inRegion)
The in_region.
|
LocalReader |
setMmsEnabled(Boolean mmsEnabled)
The mms_enabled.
|
LocalReader |
setNearLatLong(String nearLatLong)
The near_lat_long.
|
LocalReader |
setNearNumber(PhoneNumber nearNumber)
The near_number.
|
LocalReader |
setNearNumber(String nearNumber)
The near_number.
|
LocalReader |
setSmsEnabled(Boolean smsEnabled)
The sms_enabled.
|
LocalReader |
setVoiceEnabled(Boolean voiceEnabled)
The voice_enabled.
|
public LocalReader(String pathCountryCode)
pathCountryCode - The country_codepublic LocalReader setAreaCode(Integer areaCode)
areaCode - The area_codepublic LocalReader setContains(String contains)
contains - The containspublic LocalReader setSmsEnabled(Boolean smsEnabled)
smsEnabled - The sms_enabledpublic LocalReader setMmsEnabled(Boolean mmsEnabled)
mmsEnabled - The mms_enabledpublic LocalReader setVoiceEnabled(Boolean voiceEnabled)
voiceEnabled - The voice_enabledpublic LocalReader setExcludeAllAddressRequired(Boolean excludeAllAddressRequired)
excludeAllAddressRequired - The exclude_all_address_requiredpublic LocalReader setExcludeLocalAddressRequired(Boolean excludeLocalAddressRequired)
excludeLocalAddressRequired - The exclude_local_address_requiredpublic LocalReader setExcludeForeignAddressRequired(Boolean excludeForeignAddressRequired)
excludeForeignAddressRequired - The exclude_foreign_address_requiredpublic LocalReader setBeta(Boolean beta)
beta - The betapublic LocalReader setNearNumber(PhoneNumber nearNumber)
nearNumber - The near_numberpublic LocalReader setNearNumber(String nearNumber)
nearNumber - The near_numberpublic LocalReader setNearLatLong(String nearLatLong)
nearLatLong - The near_lat_longpublic LocalReader setDistance(Integer distance)
distance - The distancepublic LocalReader setInPostalCode(String inPostalCode)
inPostalCode - The in_postal_codepublic LocalReader setInRegion(String inRegion)
inRegion - The in_regionpublic LocalReader setInRateCenter(String inRateCenter)
inRateCenter - The in_rate_centerpublic LocalReader setInLata(String inLata)
inLata - The in_latapublic LocalReader setInLocality(String inLocality)
inLocality - The in_localitypublic LocalReader setFaxEnabled(Boolean faxEnabled)
faxEnabled - The fax_enabledpublic ResourceSet<Local> read(TwilioRestClient client)
public Page<Local> firstPage(TwilioRestClient client)
public Page<Local> getPage(String targetUrl, TwilioRestClient client)
public Page<Local> nextPage(Page<Local> page, TwilioRestClient client)
public Page<Local> previousPage(Page<Local> page, TwilioRestClient client)
previousPage in class Reader<Local>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.