public class WorkerChannelUpdater extends Updater<WorkerChannel>
| Constructor and Description |
|---|
WorkerChannelUpdater(String pathWorkspaceSid,
String pathWorkerSid,
String pathSid)
Construct a new WorkerChannelUpdater.
|
| Modifier and Type | Method and Description |
|---|---|
WorkerChannelUpdater |
setAvailable(Boolean available)
The available.
|
WorkerChannelUpdater |
setCapacity(Integer capacity)
The capacity.
|
WorkerChannel |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsyncpublic WorkerChannelUpdater setCapacity(Integer capacity)
capacity - The capacitypublic WorkerChannelUpdater setAvailable(Boolean available)
available - The availablepublic WorkerChannel update(TwilioRestClient client)
update in class Updater<WorkerChannel>client - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.