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