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