Constructor and Description |
---|
UserUpdater(String pathServiceSid,
String pathSid)
Construct a new UserUpdater.
|
Modifier and Type | Method and Description |
---|---|
UserUpdater |
setAttributes(String attributes)
The attributes.
|
UserUpdater |
setFriendlyName(String friendlyName)
The friendly_name.
|
UserUpdater |
setRoleSid(String roleSid)
The role_sid.
|
UserUpdater |
setXTwilioWebhookEnabled(User.WebhookEnabledType xTwilioWebhookEnabled)
The X-Twilio-Webhook-Enabled HTTP request header.
|
User |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public UserUpdater setRoleSid(String roleSid)
roleSid
- The role_sidpublic UserUpdater setAttributes(String attributes)
attributes
- The attributespublic UserUpdater setFriendlyName(String friendlyName)
friendlyName
- The friendly_namepublic UserUpdater setXTwilioWebhookEnabled(User.WebhookEnabledType xTwilioWebhookEnabled)
xTwilioWebhookEnabled
- The X-Twilio-Webhook-Enabled HTTP request headerpublic User update(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.