| Constructor and Description |
|---|
UserReader(String pathServiceSid)
Construct a new UserReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<User> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<User> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<User> |
nextPage(Page<User> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<User> |
previousPage(Page<User> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<User> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
public UserReader(String pathServiceSid)
pathServiceSid - The service_sidpublic ResourceSet<User> read(TwilioRestClient client)
public Page<User> firstPage(TwilioRestClient client)
public Page<User> getPage(String targetUrl, TwilioRestClient client)
public Page<User> nextPage(Page<User> page, TwilioRestClient client)
public Page<User> previousPage(Page<User> page, TwilioRestClient client)
previousPage in class Reader<User>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.