Class LocalReader
- java.lang.Object
-
- com.twilio.base.Reader<Local>
-
- com.twilio.rest.api.v2010.account.availablephonenumbercountry.LocalReader
-
-
Constructor Summary
Constructors Constructor Description LocalReader(String pathCountryCode)
LocalReader(String pathAccountSid, String pathCountryCode)
-
Method Summary
-
-
-
Method Detail
-
setAreaCode
public LocalReader setAreaCode(Integer areaCode)
-
setContains
public LocalReader setContains(String contains)
-
setSmsEnabled
public LocalReader setSmsEnabled(Boolean smsEnabled)
-
setMmsEnabled
public LocalReader setMmsEnabled(Boolean mmsEnabled)
-
setVoiceEnabled
public LocalReader setVoiceEnabled(Boolean voiceEnabled)
-
setExcludeAllAddressRequired
public LocalReader setExcludeAllAddressRequired(Boolean excludeAllAddressRequired)
-
setExcludeLocalAddressRequired
public LocalReader setExcludeLocalAddressRequired(Boolean excludeLocalAddressRequired)
-
setExcludeForeignAddressRequired
public LocalReader setExcludeForeignAddressRequired(Boolean excludeForeignAddressRequired)
-
setBeta
public LocalReader setBeta(Boolean beta)
-
setNearNumber
public LocalReader setNearNumber(PhoneNumber nearNumber)
-
setNearNumber
public LocalReader setNearNumber(String nearNumber)
-
setNearLatLong
public LocalReader setNearLatLong(String nearLatLong)
-
setDistance
public LocalReader setDistance(Integer distance)
-
setInPostalCode
public LocalReader setInPostalCode(String inPostalCode)
-
setInRegion
public LocalReader setInRegion(String inRegion)
-
setInRateCenter
public LocalReader setInRateCenter(String inRateCenter)
-
setInLata
public LocalReader setInLata(String inLata)
-
setInLocality
public LocalReader setInLocality(String inLocality)
-
setFaxEnabled
public LocalReader setFaxEnabled(Boolean faxEnabled)
-
setPageSize
public LocalReader setPageSize(Integer pageSize)
-
read
public ResourceSet<Local> read(TwilioRestClient client)
Description copied from class:Reader
Execute a request using specified client.
-
firstPage
public Page<Local> firstPage(TwilioRestClient client)
Description copied from class:Reader
Fetch the first page of resources using specified client.
-
previousPage
public Page<Local> previousPage(Page<Local> page, TwilioRestClient client)
Description copied from class:Reader
Fetch the prior page of resources using specified client.- Specified by:
previousPage
in classReader<Local>
- Parameters:
page
- current page of resourcesclient
- client used to fetch- Returns:
- Page containing the previous pageSize of resources
-
nextPage
public Page<Local> nextPage(Page<Local> page, TwilioRestClient client)
Description copied from class:Reader
Fetch the following page of resources using specified client.
-
getPage
public Page<Local> getPage(String targetUrl, TwilioRestClient client)
Description copied from class:Reader
Retrieve the target page of resources.
-
-