| Constructor and Description |
|---|
MobileReader()
Construct a new MobileReader.
|
MobileReader(String pathAccountSid)
Construct a new MobileReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<Mobile> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Mobile> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Mobile> |
nextPage(Page<Mobile> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Mobile> |
previousPage(Page<Mobile> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Mobile> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
MobileReader |
setBeta(Boolean beta)
The beta.
|
MobileReader |
setFriendlyName(String friendlyName)
The friendly_name.
|
MobileReader |
setOrigin(String origin)
The origin.
|
MobileReader |
setPhoneNumber(PhoneNumber phoneNumber)
The phone_number.
|
MobileReader |
setPhoneNumber(String phoneNumber)
The phone_number.
|
public MobileReader()
public MobileReader(String pathAccountSid)
pathAccountSid - The account_sidpublic MobileReader setBeta(Boolean beta)
beta - The betapublic MobileReader setFriendlyName(String friendlyName)
friendlyName - The friendly_namepublic MobileReader setPhoneNumber(PhoneNumber phoneNumber)
phoneNumber - The phone_numberpublic MobileReader setPhoneNumber(String phoneNumber)
phoneNumber - The phone_numberpublic MobileReader setOrigin(String origin)
origin - The originpublic ResourceSet<Mobile> read(TwilioRestClient client)
public Page<Mobile> firstPage(TwilioRestClient client)
public Page<Mobile> getPage(String targetUrl, TwilioRestClient client)
public Page<Mobile> nextPage(Page<Mobile> page, TwilioRestClient client)
public Page<Mobile> previousPage(Page<Mobile> page, TwilioRestClient client)
previousPage in class Reader<Mobile>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.