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