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