public class MachineToMachineReader extends Reader<MachineToMachine>
| Constructor and Description |
|---|
MachineToMachineReader(String pathCountryCode)
Construct a new MachineToMachineReader.
|
MachineToMachineReader(String pathAccountSid,
String pathCountryCode)
Construct a new MachineToMachineReader.
|
public MachineToMachineReader(String pathCountryCode)
pathCountryCode - The country_codepublic MachineToMachineReader setAreaCode(Integer areaCode)
areaCode - The area_codepublic MachineToMachineReader setContains(String contains)
contains - The containspublic MachineToMachineReader setSmsEnabled(Boolean smsEnabled)
smsEnabled - The sms_enabledpublic MachineToMachineReader setMmsEnabled(Boolean mmsEnabled)
mmsEnabled - The mms_enabledpublic MachineToMachineReader setVoiceEnabled(Boolean voiceEnabled)
voiceEnabled - The voice_enabledpublic MachineToMachineReader setExcludeAllAddressRequired(Boolean excludeAllAddressRequired)
excludeAllAddressRequired - The exclude_all_address_requiredpublic MachineToMachineReader setExcludeLocalAddressRequired(Boolean excludeLocalAddressRequired)
excludeLocalAddressRequired - The exclude_local_address_requiredpublic MachineToMachineReader setExcludeForeignAddressRequired(Boolean excludeForeignAddressRequired)
excludeForeignAddressRequired - The exclude_foreign_address_requiredpublic MachineToMachineReader setBeta(Boolean beta)
beta - The betapublic MachineToMachineReader setNearNumber(PhoneNumber nearNumber)
nearNumber - The near_numberpublic MachineToMachineReader setNearNumber(String nearNumber)
nearNumber - The near_numberpublic MachineToMachineReader setNearLatLong(String nearLatLong)
nearLatLong - The near_lat_longpublic MachineToMachineReader setDistance(Integer distance)
distance - The distancepublic MachineToMachineReader setInPostalCode(String inPostalCode)
inPostalCode - The in_postal_codepublic MachineToMachineReader setInRegion(String inRegion)
inRegion - The in_regionpublic MachineToMachineReader setInRateCenter(String inRateCenter)
inRateCenter - The in_rate_centerpublic MachineToMachineReader setInLata(String inLata)
inLata - The in_latapublic MachineToMachineReader setInLocality(String inLocality)
inLocality - The in_localitypublic MachineToMachineReader setFaxEnabled(Boolean faxEnabled)
faxEnabled - The fax_enabledpublic ResourceSet<MachineToMachine> read(TwilioRestClient client)
read in class Reader<MachineToMachine>client - TwilioRestClient with which to make the requestpublic Page<MachineToMachine> firstPage(TwilioRestClient client)
firstPage in class Reader<MachineToMachine>client - TwilioRestClient with which to make the requestpublic Page<MachineToMachine> getPage(String targetUrl, TwilioRestClient client)
getPage in class Reader<MachineToMachine>targetUrl - API-generated URL for the requested results pageclient - TwilioRestClient with which to make the requestpublic Page<MachineToMachine> nextPage(Page<MachineToMachine> page, TwilioRestClient client)
nextPage in class Reader<MachineToMachine>page - current pageclient - TwilioRestClient with which to make the requestpublic Page<MachineToMachine> previousPage(Page<MachineToMachine> page, TwilioRestClient client)
previousPage in class Reader<MachineToMachine>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.