public class UserChannelUpdater extends Updater<UserChannel>
Constructor and Description |
---|
UserChannelUpdater(String pathServiceSid,
String pathUserSid,
String pathChannelSid)
Construct a new UserChannelUpdater.
|
Modifier and Type | Method and Description |
---|---|
UserChannelUpdater |
setLastConsumedMessageIndex(Integer lastConsumedMessageIndex)
The last_consumed_message_index.
|
UserChannelUpdater |
setLastConsumptionTimestamp(ZonedDateTime lastConsumptionTimestamp)
The last_consumption_timestamp.
|
UserChannelUpdater |
setNotificationLevel(UserChannel.NotificationLevel notificationLevel)
The notification_level.
|
UserChannel |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public UserChannelUpdater setNotificationLevel(UserChannel.NotificationLevel notificationLevel)
notificationLevel
- The notification_levelpublic UserChannelUpdater setLastConsumedMessageIndex(Integer lastConsumedMessageIndex)
lastConsumedMessageIndex
- The last_consumed_message_indexpublic UserChannelUpdater setLastConsumptionTimestamp(ZonedDateTime lastConsumptionTimestamp)
lastConsumptionTimestamp
- The last_consumption_timestamppublic UserChannel update(TwilioRestClient client)
update
in class Updater<UserChannel>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.