Constructor and Description |
---|
RoomUpdater(String pathSid,
Room.RoomStatus status)
Construct a new RoomUpdater.
|
Modifier and Type | Method and Description |
---|---|
Room |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public RoomUpdater(String pathSid, Room.RoomStatus status)
pathSid
- The SID that identifies the resource to updatestatus
- The new status of the resourcepublic Room update(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.