Class SubscribeRules
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.video.v1.room.participant.SubscribeRules
-
- All Implemented Interfaces:
Serializable
public class SubscribeRules extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static SubscribeRulesFetcherfetcher(String pathRoomSid, String pathParticipantSid)static SubscribeRulesfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a SubscribeRules object using the provided ObjectMapper.static SubscribeRulesfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a SubscribeRules object using the provided ObjectMapper.ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetParticipantSid()StringgetRoomSid()List<SubscribeRule>getRules()inthashCode()static SubscribeRulesUpdaterupdater(String pathRoomSid, String pathParticipantSid)
-
-
-
Method Detail
-
fetcher
public static SubscribeRulesFetcher fetcher(String pathRoomSid, String pathParticipantSid)
-
updater
public static SubscribeRulesUpdater updater(String pathRoomSid, String pathParticipantSid)
-
fromJson
public static SubscribeRules fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SubscribeRules object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- SubscribeRules object represented by the provided JSON
-
fromJson
public static SubscribeRules fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SubscribeRules object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- SubscribeRules object represented by the provided JSON
-
getParticipantSid
public final String getParticipantSid()
-
getRoomSid
public final String getRoomSid()
-
getRules
public final List<SubscribeRule> getRules()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
-