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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page<Mobile>
firstPage(TwilioRestClient client)
Fetch the first page of resources using specified client.Page<Mobile>
getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page of resources.Page<Mobile>
nextPage(Page<Mobile> page, TwilioRestClient client)
Fetch the following page of resources using specified client.Page<Mobile>
previousPage(Page<Mobile> page, TwilioRestClient client)
Fetch the prior page of resources using specified client.ResourceSet<Mobile>
read(TwilioRestClient client)
Execute a request using specified client.MobileReader
setBeta(Boolean beta)
MobileReader
setFriendlyName(String friendlyName)
MobileReader
setOrigin(String origin)
MobileReader
setPageSize(Integer pageSize)
MobileReader
setPhoneNumber(PhoneNumber phoneNumber)
MobileReader
setPhoneNumber(String phoneNumber)
-
-
-
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(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.
-
-