Package com.twilio.rest.video.v1
Class Recording
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.video.v1.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.Codecstatic classRecording.Formatstatic classRecording.Statusstatic classRecording.Type
-
Method Summary
-
-
-
Method Detail
-
fetcher
public static RecordingFetcher fetcher(String pathSid)
-
deleter
public static RecordingDeleter deleter(String pathSid)
-
reader
public static RecordingReader reader()
-
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
-
getAccountSid
public final String getAccountSid()
-
getStatus
public final Recording.Status getStatus()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getSid
public final String getSid()
-
getSourceSid
public final String getSourceSid()
-
getSize
public final Long getSize()
-
getUrl
public final URI getUrl()
-
getType
public final Recording.Type getType()
-
getDuration
public final Integer getDuration()
-
getContainerFormat
public final Recording.Format getContainerFormat()
-
getCodec
public final Recording.Codec getCodec()
-
getTrackName
public final String getTrackName()
-
getOffset
public final Long getOffset()
-
getMediaExternalLocation
public final URI getMediaExternalLocation()
-
getStatusCallback
public final URI getStatusCallback()
-
getStatusCallbackMethod
public final HttpMethod getStatusCallbackMethod()
-
-