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