| Constructor and Description |
|---|
WorkerUpdater(String pathWorkspaceSid,
String pathSid)
Construct a new WorkerUpdater.
|
| Modifier and Type | Method and Description |
|---|---|
WorkerUpdater |
setActivitySid(String activitySid)
The activity_sid.
|
WorkerUpdater |
setAttributes(String attributes)
The attributes.
|
WorkerUpdater |
setFriendlyName(String friendlyName)
The friendly_name.
|
Worker |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsyncpublic WorkerUpdater setActivitySid(String activitySid)
activitySid - The activity_sidpublic WorkerUpdater setAttributes(String attributes)
attributes - The attributespublic WorkerUpdater setFriendlyName(String friendlyName)
friendlyName - The friendly_namepublic Worker update(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.