Package com.twilio.rest.video.v1.room
Class RecordingRules
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.video.v1.room.RecordingRules
-
- All Implemented Interfaces:
Serializable
public class RecordingRules extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static RecordingRulesFetcher
fetcher(String pathRoomSid)
static RecordingRules
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a RecordingRules object using the provided ObjectMapper.static RecordingRules
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a RecordingRules object using the provided ObjectMapper.ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getRoomSid()
List<RecordingRule>
getRules()
int
hashCode()
static RecordingRulesUpdater
updater(String pathRoomSid)
-
-
-
Method Detail
-
fetcher
public static RecordingRulesFetcher fetcher(String pathRoomSid)
-
updater
public static RecordingRulesUpdater updater(String pathRoomSid)
-
fromJson
public static RecordingRules fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a RecordingRules object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- RecordingRules object represented by the provided JSON
-
fromJson
public static RecordingRules fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a RecordingRules object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- RecordingRules object represented by the provided JSON
-
getRoomSid
public final String getRoomSid()
-
getRules
public final List<RecordingRule> getRules()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
-