Class UserChannelUpdater

    • 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 from
        pathUserSid - The SID of the User to update the User Channel resource from
        pathChannelSid - The SID of the Channel with the User Channel resource to update
        notificationLevel - 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 class Updater<UserChannel>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        Updated UserChannel