Class UserUpdater
- java.lang.Object
-
- com.twilio.base.Updater<User>
-
- com.twilio.rest.ipmessaging.v1.service.UserUpdater
-
-
Constructor Summary
Constructors Constructor Description UserUpdater(String pathServiceSid, String pathSid)
Construct a new UserUpdater.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserUpdater
setAttributes(String attributes)
A valid JSON string that contains application-specific data..UserUpdater
setFriendlyName(String friendlyName)
A descriptive string that you create to describe the resource.UserUpdater
setRoleSid(String roleSid)
The SID of the [Role](https://www.twilio.com/docs/api/chat/rest/roles) assigned to this user..User
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.-
Methods inherited from class com.twilio.base.Updater
update, updateAsync, updateAsync
-
-
-
-
Method Detail
-
setRoleSid
public UserUpdater setRoleSid(String roleSid)
The SID of the [Role](https://www.twilio.com/docs/api/chat/rest/roles) assigned to this user..- Parameters:
roleSid
- The SID id of the Role assigned to this user- Returns:
- this
-
setAttributes
public UserUpdater setAttributes(String attributes)
A valid JSON string that contains application-specific data..- Parameters:
attributes
- A valid JSON string that contains application-specific data- Returns:
- this
-
setFriendlyName
public UserUpdater setFriendlyName(String friendlyName)
A descriptive string that you create to describe the resource. It is often used for display purposes..- Parameters:
friendlyName
- A string to describe the resource- Returns:
- this
-
update
public User update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
-
-