Constructor and Description |
---|
RoleReader(String pathChatServiceSid)
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 pathChatServiceSid)
pathChatServiceSid
- The SID of the Conversation Service to read the
resources frompublic 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 © 2019 Twilio, Inc. All Rights Reserved.