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