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