| Constructor and Description |
|---|
ActivityReader(String pathWorkspaceSid)
Construct a new ActivityReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<Activity> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Activity> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Activity> |
nextPage(Page<Activity> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Activity> |
previousPage(Page<Activity> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Activity> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
ActivityReader |
setAvailable(String available)
The available.
|
ActivityReader |
setFriendlyName(String friendlyName)
The friendly_name.
|
public ActivityReader(String pathWorkspaceSid)
pathWorkspaceSid - The workspace_sidpublic ActivityReader setFriendlyName(String friendlyName)
friendlyName - The friendly_namepublic ActivityReader setAvailable(String available)
available - The availablepublic ResourceSet<Activity> read(TwilioRestClient client)
public Page<Activity> firstPage(TwilioRestClient client)
public Page<Activity> getPage(String targetUrl, TwilioRestClient client)
public Page<Activity> nextPage(Page<Activity> page, TwilioRestClient client)
public Page<Activity> previousPage(Page<Activity> page, TwilioRestClient client)
previousPage in class Reader<Activity>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.