Class LocalReader
- java.lang.Object
-
- com.twilio.base.Reader<Local>
-
- com.twilio.rest.api.v2010.account.incomingphonenumber.LocalReader
-
-
Constructor Summary
Constructors Constructor Description LocalReader()LocalReader(String pathAccountSid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page<Local>firstPage(TwilioRestClient client)Fetch the first page of resources using specified client.Page<Local>getPage(String targetUrl, TwilioRestClient client)Retrieve the target page of resources.Page<Local>nextPage(Page<Local> page, TwilioRestClient client)Fetch the following page of resources using specified client.Page<Local>previousPage(Page<Local> page, TwilioRestClient client)Fetch the prior page of resources using specified client.ResourceSet<Local>read(TwilioRestClient client)Execute a request using specified client.LocalReadersetBeta(Boolean beta)LocalReadersetFriendlyName(String friendlyName)LocalReadersetOrigin(String origin)LocalReadersetPageSize(Integer pageSize)LocalReadersetPhoneNumber(PhoneNumber phoneNumber)LocalReadersetPhoneNumber(String phoneNumber)
-
-
-
Constructor Detail
-
LocalReader
public LocalReader()
-
LocalReader
public LocalReader(String pathAccountSid)
-
-
Method Detail
-
setBeta
public LocalReader setBeta(Boolean beta)
-
setFriendlyName
public LocalReader setFriendlyName(String friendlyName)
-
setPhoneNumber
public LocalReader setPhoneNumber(PhoneNumber phoneNumber)
-
setPhoneNumber
public LocalReader setPhoneNumber(String phoneNumber)
-
setOrigin
public LocalReader setOrigin(String origin)
-
setPageSize
public LocalReader setPageSize(Integer pageSize)
-
read
public ResourceSet<Local> read(TwilioRestClient client)
Description copied from class:ReaderExecute a request using specified client.
-
firstPage
public Page<Local> firstPage(TwilioRestClient client)
Description copied from class:ReaderFetch the first page of resources using specified client.
-
previousPage
public Page<Local> previousPage(Page<Local> page, TwilioRestClient client)
Description copied from class:ReaderFetch the prior page of resources using specified client.- Specified by:
previousPagein 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:ReaderFetch the following page of resources using specified client.
-
getPage
public Page<Local> getPage(String targetUrl, TwilioRestClient client)
Description copied from class:ReaderRetrieve the target page of resources.
-
-