Class Recording
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.trunking.v1.trunk.Recording
-
- All Implemented Interfaces:
Serializable
public class Recording extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecording.RecordingModestatic classRecording.RecordingTrim
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static RecordingFetcherfetcher(String pathTrunkSid)static RecordingfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Recording object using the provided ObjectMapper.static RecordingfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Recording object using the provided ObjectMapper.Recording.RecordingModegetMode()Recording.RecordingTrimgetTrim()inthashCode()static RecordingUpdaterupdater(String pathTrunkSid)
-
-
-
Method Detail
-
fetcher
public static RecordingFetcher fetcher(String pathTrunkSid)
-
updater
public static RecordingUpdater updater(String pathTrunkSid)
-
fromJson
public static Recording fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Recording object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Recording object represented by the provided JSON
-
fromJson
public static Recording fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Recording object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Recording object represented by the provided JSON
-
getMode
public final Recording.RecordingMode getMode()
-
getTrim
public final Recording.RecordingTrim getTrim()
-
-