Constructor and Description |
---|
UserUpdater(String pathServiceSid,
String pathSid)
Construct a new UserUpdater.
|
Modifier and Type | Method and Description |
---|---|
UserUpdater |
setAttributes(String attributes)
An optional string used to contain any metadata or other information for the
User.
|
UserUpdater |
setFriendlyName(String friendlyName)
An optional human readable string representing the user.
|
UserUpdater |
setRoleSid(String roleSid)
The unique id of the [Role][role] assigned to this user..
|
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 unique id of the [Role][role] assigned to this user.public UserUpdater setAttributes(String attributes)
attributes
- An optional string used to contain any metadata or other
information for the User.public UserUpdater setFriendlyName(String friendlyName)
friendlyName
- An optional human readable string representing the user.public User update(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.