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