Class MobileReader
- java.lang.Object
-
- com.twilio.base.Reader<Mobile>
-
- com.twilio.rest.api.v2010.account.incomingphonenumber.MobileReader
-
-
Constructor Summary
Constructors Constructor Description MobileReader()MobileReader(String pathAccountSid)
-
Method Summary
-
Methods inherited from class com.twilio.base.Reader
firstPage, getLimit, getPage, getPageSize, limit, nextPage, pageSize, previousPage, read, readAsync, readAsync, readWithResponse
-
-
-
-
Constructor Detail
-
MobileReader
public MobileReader()
-
MobileReader
public MobileReader(String pathAccountSid)
-
-
Method Detail
-
setBeta
public MobileReader setBeta(Boolean beta)
-
setFriendlyName
public MobileReader setFriendlyName(String friendlyName)
-
setPhoneNumber
public MobileReader setPhoneNumber(PhoneNumber phoneNumber)
-
setPhoneNumber
public MobileReader setPhoneNumber(String phoneNumber)
-
setOrigin
public MobileReader setOrigin(String origin)
-
setPageSize
public MobileReader setPageSize(Long pageSize)
-
readWithResponse
public ResourceSetResponse<Mobile> readWithResponse(TwilioRestClient client)
- Overrides:
readWithResponsein classReader<Mobile>
-
read
public ResourceSet<Mobile> read(TwilioRestClient client)
Description copied from class:ReaderExecute a request using specified client.
-
firstPage
public Page<Mobile> firstPage(TwilioRestClient client)
Description copied from class:ReaderFetch the first page of resources using specified client.
-
firstPageWithResponse
public TwilioResponse<Page<Mobile>> firstPageWithResponse(TwilioRestClient client)
-
previousPage
public Page<Mobile> previousPage(Page<Mobile> page, TwilioRestClient client)
Description copied from class:ReaderFetch the prior page of resources using specified client.- Specified by:
previousPagein 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:ReaderFetch the following page of resources using specified client.
-
getPage
public Page<Mobile> getPage(String targetUrl, TwilioRestClient client)
Description copied from class:ReaderRetrieve the target page of resources.
-
-