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