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