Class RoomUpdater

    • Constructor Detail

      • RoomUpdater

        public RoomUpdater​(String pathSid,
                           Room.RoomStatus status)
        Construct a new RoomUpdater.
        Parameters:
        pathSid - The Room Sid or name that uniquely identifies this resource.
        status - Set to completed to end the Room.
    • Method Detail

      • update

        public Room update​(TwilioRestClient client)
        Make the request to the Twilio API to perform the update.
        Specified by:
        update in class Updater<Room>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        Updated Room