Class SubscribeRulesUpdater
- java.lang.Object
-
- com.twilio.base.Updater<SubscribeRules>
-
- com.twilio.rest.video.v1.room.participant.SubscribeRulesUpdater
-
public class SubscribeRulesUpdater extends Updater<SubscribeRules>
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
-
-
Constructor Summary
Constructors Constructor Description SubscribeRulesUpdater(String pathRoomSid, String pathParticipantSid)
Construct a new SubscribeRulesUpdater.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscribeRulesUpdater
setRules(Map<String,Object> rules)
A JSON-encoded array of Subscribe Rules.SubscribeRules
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
-
-
-
-
Method Detail
-
setRules
public SubscribeRulesUpdater setRules(Map<String,Object> rules)
A JSON-encoded array of Subscribe Rules. See the [Specifying Subscribe Rules](https://www.twilio.com/docs/video/api/track-subscriptions#specifying-sr) section for further information..- Parameters:
rules
- A JSON-encoded array of Subscribe Rules.- Returns:
- this
-
update
public SubscribeRules update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.- Specified by:
update
in classUpdater<SubscribeRules>
- Parameters:
client
- TwilioRestClient with which to make the request- Returns:
- Updated SubscribeRules
-
-