Package com.twilio.rest.media.v1
Class MediaProcessor
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.media.v1.MediaProcessor
-
- All Implemented Interfaces:
Serializable
public class MediaProcessor extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MediaProcessor.Order
static class
MediaProcessor.Status
static class
MediaProcessor.UpdateStatus
-
Method Summary
-
-
-
Method Detail
-
creator
public static MediaProcessorCreator creator(String extension, String extensionContext)
-
fetcher
public static MediaProcessorFetcher fetcher(String pathSid)
-
reader
public static MediaProcessorReader reader()
-
updater
public static MediaProcessorUpdater updater(String pathSid, MediaProcessor.UpdateStatus status)
-
fromJson
public static MediaProcessor fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a MediaProcessor object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- MediaProcessor object represented by the provided JSON
-
fromJson
public static MediaProcessor fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a MediaProcessor object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- MediaProcessor object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getSid
public final String getSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getExtension
public final String getExtension()
-
getExtensionContext
public final String getExtensionContext()
-
getStatus
public final MediaProcessor.Status getStatus()
-
getUrl
public final URI getUrl()
-
getEndedReason
public final String getEndedReason()
-
getStatusCallback
public final URI getStatusCallback()
-
getStatusCallbackMethod
public final HttpMethod getStatusCallbackMethod()
-
getMaxDuration
public final Integer getMaxDuration()
-
-