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