Constructor and Description |
---|
UserUpdater(String pathSid)
Construct a new UserUpdater.
|
Modifier and Type | Method and Description |
---|---|
UserUpdater |
setAttributes(String attributes)
The JSON Object string that stores application-specific data.
|
UserUpdater |
setFriendlyName(String friendlyName)
The string that you assigned to describe the resource..
|
UserUpdater |
setRoleSid(String roleSid)
The SID of a service-level Role
to assign to the user..
|
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(String pathSid)
pathSid
- The SID of the User resource to updatepublic UserUpdater setFriendlyName(String friendlyName)
friendlyName
- The string that you assigned to describe the resourcepublic UserUpdater setAttributes(String attributes)
attributes
- The JSON Object string that stores application-specific
datapublic UserUpdater setRoleSid(String roleSid)
roleSid
- The SID of a service-level Role to assign to the userpublic 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.