{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.ElasticTranscoder.Types.JobInput where
import qualified Amazonka.Core as Core
import Amazonka.ElasticTranscoder.Types.DetectedProperties
import Amazonka.ElasticTranscoder.Types.Encryption
import Amazonka.ElasticTranscoder.Types.InputCaptions
import Amazonka.ElasticTranscoder.Types.TimeSpan
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data JobInput = JobInput'
{
JobInput -> Maybe Text
frameRate :: Prelude.Maybe Prelude.Text,
JobInput -> Maybe Text
resolution :: Prelude.Maybe Prelude.Text,
JobInput -> Maybe Text
aspectRatio :: Prelude.Maybe Prelude.Text,
JobInput -> Maybe TimeSpan
timeSpan :: Prelude.Maybe TimeSpan,
JobInput -> Maybe Encryption
encryption :: Prelude.Maybe Encryption,
JobInput -> Maybe Text
key :: Prelude.Maybe Prelude.Text,
JobInput -> Maybe DetectedProperties
detectedProperties :: Prelude.Maybe DetectedProperties,
JobInput -> Maybe Text
container :: Prelude.Maybe Prelude.Text,
JobInput -> Maybe Text
interlaced :: Prelude.Maybe Prelude.Text,
JobInput -> Maybe InputCaptions
inputCaptions :: Prelude.Maybe InputCaptions
}
deriving (JobInput -> JobInput -> Bool
(JobInput -> JobInput -> Bool)
-> (JobInput -> JobInput -> Bool) -> Eq JobInput
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: JobInput -> JobInput -> Bool
$c/= :: JobInput -> JobInput -> Bool
== :: JobInput -> JobInput -> Bool
$c== :: JobInput -> JobInput -> Bool
Prelude.Eq, ReadPrec [JobInput]
ReadPrec JobInput
Int -> ReadS JobInput
ReadS [JobInput]
(Int -> ReadS JobInput)
-> ReadS [JobInput]
-> ReadPrec JobInput
-> ReadPrec [JobInput]
-> Read JobInput
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [JobInput]
$creadListPrec :: ReadPrec [JobInput]
readPrec :: ReadPrec JobInput
$creadPrec :: ReadPrec JobInput
readList :: ReadS [JobInput]
$creadList :: ReadS [JobInput]
readsPrec :: Int -> ReadS JobInput
$creadsPrec :: Int -> ReadS JobInput
Prelude.Read, Int -> JobInput -> ShowS
[JobInput] -> ShowS
JobInput -> String
(Int -> JobInput -> ShowS)
-> (JobInput -> String) -> ([JobInput] -> ShowS) -> Show JobInput
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [JobInput] -> ShowS
$cshowList :: [JobInput] -> ShowS
show :: JobInput -> String
$cshow :: JobInput -> String
showsPrec :: Int -> JobInput -> ShowS
$cshowsPrec :: Int -> JobInput -> ShowS
Prelude.Show, (forall x. JobInput -> Rep JobInput x)
-> (forall x. Rep JobInput x -> JobInput) -> Generic JobInput
forall x. Rep JobInput x -> JobInput
forall x. JobInput -> Rep JobInput x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep JobInput x -> JobInput
$cfrom :: forall x. JobInput -> Rep JobInput x
Prelude.Generic)
newJobInput ::
JobInput
newJobInput :: JobInput
newJobInput =
JobInput' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe TimeSpan
-> Maybe Encryption
-> Maybe Text
-> Maybe DetectedProperties
-> Maybe Text
-> Maybe Text
-> Maybe InputCaptions
-> JobInput
JobInput'
{ $sel:frameRate:JobInput' :: Maybe Text
frameRate = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:resolution:JobInput' :: Maybe Text
resolution = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:aspectRatio:JobInput' :: Maybe Text
aspectRatio = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:timeSpan:JobInput' :: Maybe TimeSpan
timeSpan = Maybe TimeSpan
forall a. Maybe a
Prelude.Nothing,
$sel:encryption:JobInput' :: Maybe Encryption
encryption = Maybe Encryption
forall a. Maybe a
Prelude.Nothing,
$sel:key:JobInput' :: Maybe Text
key = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:detectedProperties:JobInput' :: Maybe DetectedProperties
detectedProperties = Maybe DetectedProperties
forall a. Maybe a
Prelude.Nothing,
$sel:container:JobInput' :: Maybe Text
container = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:interlaced:JobInput' :: Maybe Text
interlaced = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:inputCaptions:JobInput' :: Maybe InputCaptions
inputCaptions = Maybe InputCaptions
forall a. Maybe a
Prelude.Nothing
}
jobInput_frameRate :: Lens.Lens' JobInput (Prelude.Maybe Prelude.Text)
jobInput_frameRate :: (Maybe Text -> f (Maybe Text)) -> JobInput -> f JobInput
jobInput_frameRate = (JobInput -> Maybe Text)
-> (JobInput -> Maybe Text -> JobInput)
-> Lens JobInput JobInput (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobInput' {Maybe Text
frameRate :: Maybe Text
$sel:frameRate:JobInput' :: JobInput -> Maybe Text
frameRate} -> Maybe Text
frameRate) (\s :: JobInput
s@JobInput' {} Maybe Text
a -> JobInput
s {$sel:frameRate:JobInput' :: Maybe Text
frameRate = Maybe Text
a} :: JobInput)
jobInput_resolution :: Lens.Lens' JobInput (Prelude.Maybe Prelude.Text)
jobInput_resolution :: (Maybe Text -> f (Maybe Text)) -> JobInput -> f JobInput
jobInput_resolution = (JobInput -> Maybe Text)
-> (JobInput -> Maybe Text -> JobInput)
-> Lens JobInput JobInput (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobInput' {Maybe Text
resolution :: Maybe Text
$sel:resolution:JobInput' :: JobInput -> Maybe Text
resolution} -> Maybe Text
resolution) (\s :: JobInput
s@JobInput' {} Maybe Text
a -> JobInput
s {$sel:resolution:JobInput' :: Maybe Text
resolution = Maybe Text
a} :: JobInput)
jobInput_aspectRatio :: Lens.Lens' JobInput (Prelude.Maybe Prelude.Text)
jobInput_aspectRatio :: (Maybe Text -> f (Maybe Text)) -> JobInput -> f JobInput
jobInput_aspectRatio = (JobInput -> Maybe Text)
-> (JobInput -> Maybe Text -> JobInput)
-> Lens JobInput JobInput (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobInput' {Maybe Text
aspectRatio :: Maybe Text
$sel:aspectRatio:JobInput' :: JobInput -> Maybe Text
aspectRatio} -> Maybe Text
aspectRatio) (\s :: JobInput
s@JobInput' {} Maybe Text
a -> JobInput
s {$sel:aspectRatio:JobInput' :: Maybe Text
aspectRatio = Maybe Text
a} :: JobInput)
jobInput_timeSpan :: Lens.Lens' JobInput (Prelude.Maybe TimeSpan)
jobInput_timeSpan :: (Maybe TimeSpan -> f (Maybe TimeSpan)) -> JobInput -> f JobInput
jobInput_timeSpan = (JobInput -> Maybe TimeSpan)
-> (JobInput -> Maybe TimeSpan -> JobInput)
-> Lens JobInput JobInput (Maybe TimeSpan) (Maybe TimeSpan)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobInput' {Maybe TimeSpan
timeSpan :: Maybe TimeSpan
$sel:timeSpan:JobInput' :: JobInput -> Maybe TimeSpan
timeSpan} -> Maybe TimeSpan
timeSpan) (\s :: JobInput
s@JobInput' {} Maybe TimeSpan
a -> JobInput
s {$sel:timeSpan:JobInput' :: Maybe TimeSpan
timeSpan = Maybe TimeSpan
a} :: JobInput)
jobInput_encryption :: Lens.Lens' JobInput (Prelude.Maybe Encryption)
jobInput_encryption :: (Maybe Encryption -> f (Maybe Encryption))
-> JobInput -> f JobInput
jobInput_encryption = (JobInput -> Maybe Encryption)
-> (JobInput -> Maybe Encryption -> JobInput)
-> Lens JobInput JobInput (Maybe Encryption) (Maybe Encryption)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobInput' {Maybe Encryption
encryption :: Maybe Encryption
$sel:encryption:JobInput' :: JobInput -> Maybe Encryption
encryption} -> Maybe Encryption
encryption) (\s :: JobInput
s@JobInput' {} Maybe Encryption
a -> JobInput
s {$sel:encryption:JobInput' :: Maybe Encryption
encryption = Maybe Encryption
a} :: JobInput)
jobInput_key :: Lens.Lens' JobInput (Prelude.Maybe Prelude.Text)
jobInput_key :: (Maybe Text -> f (Maybe Text)) -> JobInput -> f JobInput
jobInput_key = (JobInput -> Maybe Text)
-> (JobInput -> Maybe Text -> JobInput)
-> Lens JobInput JobInput (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobInput' {Maybe Text
key :: Maybe Text
$sel:key:JobInput' :: JobInput -> Maybe Text
key} -> Maybe Text
key) (\s :: JobInput
s@JobInput' {} Maybe Text
a -> JobInput
s {$sel:key:JobInput' :: Maybe Text
key = Maybe Text
a} :: JobInput)
jobInput_detectedProperties :: Lens.Lens' JobInput (Prelude.Maybe DetectedProperties)
jobInput_detectedProperties :: (Maybe DetectedProperties -> f (Maybe DetectedProperties))
-> JobInput -> f JobInput
jobInput_detectedProperties = (JobInput -> Maybe DetectedProperties)
-> (JobInput -> Maybe DetectedProperties -> JobInput)
-> Lens
JobInput
JobInput
(Maybe DetectedProperties)
(Maybe DetectedProperties)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobInput' {Maybe DetectedProperties
detectedProperties :: Maybe DetectedProperties
$sel:detectedProperties:JobInput' :: JobInput -> Maybe DetectedProperties
detectedProperties} -> Maybe DetectedProperties
detectedProperties) (\s :: JobInput
s@JobInput' {} Maybe DetectedProperties
a -> JobInput
s {$sel:detectedProperties:JobInput' :: Maybe DetectedProperties
detectedProperties = Maybe DetectedProperties
a} :: JobInput)
jobInput_container :: Lens.Lens' JobInput (Prelude.Maybe Prelude.Text)
jobInput_container :: (Maybe Text -> f (Maybe Text)) -> JobInput -> f JobInput
jobInput_container = (JobInput -> Maybe Text)
-> (JobInput -> Maybe Text -> JobInput)
-> Lens JobInput JobInput (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobInput' {Maybe Text
container :: Maybe Text
$sel:container:JobInput' :: JobInput -> Maybe Text
container} -> Maybe Text
container) (\s :: JobInput
s@JobInput' {} Maybe Text
a -> JobInput
s {$sel:container:JobInput' :: Maybe Text
container = Maybe Text
a} :: JobInput)
jobInput_interlaced :: Lens.Lens' JobInput (Prelude.Maybe Prelude.Text)
jobInput_interlaced :: (Maybe Text -> f (Maybe Text)) -> JobInput -> f JobInput
jobInput_interlaced = (JobInput -> Maybe Text)
-> (JobInput -> Maybe Text -> JobInput)
-> Lens JobInput JobInput (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobInput' {Maybe Text
interlaced :: Maybe Text
$sel:interlaced:JobInput' :: JobInput -> Maybe Text
interlaced} -> Maybe Text
interlaced) (\s :: JobInput
s@JobInput' {} Maybe Text
a -> JobInput
s {$sel:interlaced:JobInput' :: Maybe Text
interlaced = Maybe Text
a} :: JobInput)
jobInput_inputCaptions :: Lens.Lens' JobInput (Prelude.Maybe InputCaptions)
jobInput_inputCaptions :: (Maybe InputCaptions -> f (Maybe InputCaptions))
-> JobInput -> f JobInput
jobInput_inputCaptions = (JobInput -> Maybe InputCaptions)
-> (JobInput -> Maybe InputCaptions -> JobInput)
-> Lens
JobInput JobInput (Maybe InputCaptions) (Maybe InputCaptions)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobInput' {Maybe InputCaptions
inputCaptions :: Maybe InputCaptions
$sel:inputCaptions:JobInput' :: JobInput -> Maybe InputCaptions
inputCaptions} -> Maybe InputCaptions
inputCaptions) (\s :: JobInput
s@JobInput' {} Maybe InputCaptions
a -> JobInput
s {$sel:inputCaptions:JobInput' :: Maybe InputCaptions
inputCaptions = Maybe InputCaptions
a} :: JobInput)
instance Core.FromJSON JobInput where
parseJSON :: Value -> Parser JobInput
parseJSON =
String -> (Object -> Parser JobInput) -> Value -> Parser JobInput
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"JobInput"
( \Object
x ->
Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe TimeSpan
-> Maybe Encryption
-> Maybe Text
-> Maybe DetectedProperties
-> Maybe Text
-> Maybe Text
-> Maybe InputCaptions
-> JobInput
JobInput'
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe TimeSpan
-> Maybe Encryption
-> Maybe Text
-> Maybe DetectedProperties
-> Maybe Text
-> Maybe Text
-> Maybe InputCaptions
-> JobInput)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe TimeSpan
-> Maybe Encryption
-> Maybe Text
-> Maybe DetectedProperties
-> Maybe Text
-> Maybe Text
-> Maybe InputCaptions
-> JobInput)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"FrameRate")
Parser
(Maybe Text
-> Maybe Text
-> Maybe TimeSpan
-> Maybe Encryption
-> Maybe Text
-> Maybe DetectedProperties
-> Maybe Text
-> Maybe Text
-> Maybe InputCaptions
-> JobInput)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe TimeSpan
-> Maybe Encryption
-> Maybe Text
-> Maybe DetectedProperties
-> Maybe Text
-> Maybe Text
-> Maybe InputCaptions
-> JobInput)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Resolution")
Parser
(Maybe Text
-> Maybe TimeSpan
-> Maybe Encryption
-> Maybe Text
-> Maybe DetectedProperties
-> Maybe Text
-> Maybe Text
-> Maybe InputCaptions
-> JobInput)
-> Parser (Maybe Text)
-> Parser
(Maybe TimeSpan
-> Maybe Encryption
-> Maybe Text
-> Maybe DetectedProperties
-> Maybe Text
-> Maybe Text
-> Maybe InputCaptions
-> JobInput)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"AspectRatio")
Parser
(Maybe TimeSpan
-> Maybe Encryption
-> Maybe Text
-> Maybe DetectedProperties
-> Maybe Text
-> Maybe Text
-> Maybe InputCaptions
-> JobInput)
-> Parser (Maybe TimeSpan)
-> Parser
(Maybe Encryption
-> Maybe Text
-> Maybe DetectedProperties
-> Maybe Text
-> Maybe Text
-> Maybe InputCaptions
-> JobInput)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe TimeSpan)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"TimeSpan")
Parser
(Maybe Encryption
-> Maybe Text
-> Maybe DetectedProperties
-> Maybe Text
-> Maybe Text
-> Maybe InputCaptions
-> JobInput)
-> Parser (Maybe Encryption)
-> Parser
(Maybe Text
-> Maybe DetectedProperties
-> Maybe Text
-> Maybe Text
-> Maybe InputCaptions
-> JobInput)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Encryption)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Encryption")
Parser
(Maybe Text
-> Maybe DetectedProperties
-> Maybe Text
-> Maybe Text
-> Maybe InputCaptions
-> JobInput)
-> Parser (Maybe Text)
-> Parser
(Maybe DetectedProperties
-> Maybe Text -> Maybe Text -> Maybe InputCaptions -> JobInput)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Key")
Parser
(Maybe DetectedProperties
-> Maybe Text -> Maybe Text -> Maybe InputCaptions -> JobInput)
-> Parser (Maybe DetectedProperties)
-> Parser
(Maybe Text -> Maybe Text -> Maybe InputCaptions -> JobInput)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe DetectedProperties)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"DetectedProperties")
Parser
(Maybe Text -> Maybe Text -> Maybe InputCaptions -> JobInput)
-> Parser (Maybe Text)
-> Parser (Maybe Text -> Maybe InputCaptions -> JobInput)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Container")
Parser (Maybe Text -> Maybe InputCaptions -> JobInput)
-> Parser (Maybe Text) -> Parser (Maybe InputCaptions -> JobInput)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Interlaced")
Parser (Maybe InputCaptions -> JobInput)
-> Parser (Maybe InputCaptions) -> Parser JobInput
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe InputCaptions)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"InputCaptions")
)
instance Prelude.Hashable JobInput
instance Prelude.NFData JobInput
instance Core.ToJSON JobInput where
toJSON :: JobInput -> Value
toJSON JobInput' {Maybe Text
Maybe DetectedProperties
Maybe Encryption
Maybe InputCaptions
Maybe TimeSpan
inputCaptions :: Maybe InputCaptions
interlaced :: Maybe Text
container :: Maybe Text
detectedProperties :: Maybe DetectedProperties
key :: Maybe Text
encryption :: Maybe Encryption
timeSpan :: Maybe TimeSpan
aspectRatio :: Maybe Text
resolution :: Maybe Text
frameRate :: Maybe Text
$sel:inputCaptions:JobInput' :: JobInput -> Maybe InputCaptions
$sel:interlaced:JobInput' :: JobInput -> Maybe Text
$sel:container:JobInput' :: JobInput -> Maybe Text
$sel:detectedProperties:JobInput' :: JobInput -> Maybe DetectedProperties
$sel:key:JobInput' :: JobInput -> Maybe Text
$sel:encryption:JobInput' :: JobInput -> Maybe Encryption
$sel:timeSpan:JobInput' :: JobInput -> Maybe TimeSpan
$sel:aspectRatio:JobInput' :: JobInput -> Maybe Text
$sel:resolution:JobInput' :: JobInput -> Maybe Text
$sel:frameRate:JobInput' :: JobInput -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"FrameRate" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
frameRate,
(Text
"Resolution" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
resolution,
(Text
"AspectRatio" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
aspectRatio,
(Text
"TimeSpan" Text -> TimeSpan -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (TimeSpan -> Pair) -> Maybe TimeSpan -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TimeSpan
timeSpan,
(Text
"Encryption" Text -> Encryption -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Encryption -> Pair) -> Maybe Encryption -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Encryption
encryption,
(Text
"Key" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
key,
(Text
"DetectedProperties" Text -> DetectedProperties -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(DetectedProperties -> Pair)
-> Maybe DetectedProperties -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DetectedProperties
detectedProperties,
(Text
"Container" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
container,
(Text
"Interlaced" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
interlaced,
(Text
"InputCaptions" Text -> InputCaptions -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (InputCaptions -> Pair) -> Maybe InputCaptions -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe InputCaptions
inputCaptions
]
)