Class UserChannelUpdater
- java.lang.Object
-
- com.twilio.base.Updater<UserChannel>
-
- com.twilio.rest.chat.v2.service.user.UserChannelUpdater
-
public class UserChannelUpdater extends Updater<UserChannel>
-
-
Constructor Summary
Constructors Constructor Description UserChannelUpdater(String pathServiceSid, String pathUserSid, String pathChannelSid, UserChannel.NotificationLevel notificationLevel)
Construct a new UserChannelUpdater.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserChannel
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
-
-
-
-
Constructor Detail
-
UserChannelUpdater
public UserChannelUpdater(String pathServiceSid, String pathUserSid, String pathChannelSid, UserChannel.NotificationLevel notificationLevel)
Construct a new UserChannelUpdater.- Parameters:
pathServiceSid
- The SID of the Service to update the resource frompathUserSid
- The SID of the User to update the User Channel resource frompathChannelSid
- The SID of the Channel with the User Channel resource to updatenotificationLevel
- The push notification level to assign to the User Channel
-
-
Method Detail
-
update
public UserChannel update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.- Specified by:
update
in classUpdater<UserChannel>
- Parameters:
client
- TwilioRestClient with which to make the request- Returns:
- Updated UserChannel
-
-