Package com.twilio.rest.video.v1
Class CompositionHook
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.video.v1.CompositionHook
-
- All Implemented Interfaces:
Serializable
public class CompositionHook extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CompositionHook.Format
-
Method Summary
-
-
-
Method Detail
-
creator
public static CompositionHookCreator creator(String friendlyName)
-
deleter
public static CompositionHookDeleter deleter(String pathSid)
-
fetcher
public static CompositionHookFetcher fetcher(String pathSid)
-
reader
public static CompositionHookReader reader()
-
updater
public static CompositionHookUpdater updater(String pathSid, String friendlyName)
-
fromJson
public static CompositionHook fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a CompositionHook object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- CompositionHook object represented by the provided JSON
-
fromJson
public static CompositionHook fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a CompositionHook object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- CompositionHook object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getFriendlyName
public final String getFriendlyName()
-
getEnabled
public final Boolean getEnabled()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getSid
public final String getSid()
-
getResolution
public final String getResolution()
-
getTrim
public final Boolean getTrim()
-
getFormat
public final CompositionHook.Format getFormat()
-
getStatusCallback
public final URI getStatusCallback()
-
getStatusCallbackMethod
public final HttpMethod getStatusCallbackMethod()
-
getUrl
public final URI getUrl()
-
-