{-# LANGUAGE DeriveAnyClass #-} module Hercules.API.Build.DerivationInfo.DerivationInput where import Hercules.API.Derivation (DerivationStatus) import Hercules.API.Prelude data DerivationInput = DerivationInput { DerivationInput -> DerivationStatus derivationStatus :: DerivationStatus, DerivationInput -> Text derivationPath :: Text, DerivationInput -> Text outputName :: Text, DerivationInput -> Text outputPath :: Text } deriving ((forall x. DerivationInput -> Rep DerivationInput x) -> (forall x. Rep DerivationInput x -> DerivationInput) -> Generic DerivationInput forall x. Rep DerivationInput x -> DerivationInput forall x. DerivationInput -> Rep DerivationInput x forall a. (forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a $cto :: forall x. Rep DerivationInput x -> DerivationInput $cfrom :: forall x. DerivationInput -> Rep DerivationInput x Generic, Int -> DerivationInput -> ShowS [DerivationInput] -> ShowS DerivationInput -> String (Int -> DerivationInput -> ShowS) -> (DerivationInput -> String) -> ([DerivationInput] -> ShowS) -> Show DerivationInput forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a showList :: [DerivationInput] -> ShowS $cshowList :: [DerivationInput] -> ShowS show :: DerivationInput -> String $cshow :: DerivationInput -> String showsPrec :: Int -> DerivationInput -> ShowS $cshowsPrec :: Int -> DerivationInput -> ShowS Show, DerivationInput -> DerivationInput -> Bool (DerivationInput -> DerivationInput -> Bool) -> (DerivationInput -> DerivationInput -> Bool) -> Eq DerivationInput forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a /= :: DerivationInput -> DerivationInput -> Bool $c/= :: DerivationInput -> DerivationInput -> Bool == :: DerivationInput -> DerivationInput -> Bool $c== :: DerivationInput -> DerivationInput -> Bool Eq, DerivationInput -> () (DerivationInput -> ()) -> NFData DerivationInput forall a. (a -> ()) -> NFData a rnf :: DerivationInput -> () $crnf :: DerivationInput -> () NFData, [DerivationInput] -> Encoding [DerivationInput] -> Value DerivationInput -> Encoding DerivationInput -> Value (DerivationInput -> Value) -> (DerivationInput -> Encoding) -> ([DerivationInput] -> Value) -> ([DerivationInput] -> Encoding) -> ToJSON DerivationInput forall a. (a -> Value) -> (a -> Encoding) -> ([a] -> Value) -> ([a] -> Encoding) -> ToJSON a toEncodingList :: [DerivationInput] -> Encoding $ctoEncodingList :: [DerivationInput] -> Encoding toJSONList :: [DerivationInput] -> Value $ctoJSONList :: [DerivationInput] -> Value toEncoding :: DerivationInput -> Encoding $ctoEncoding :: DerivationInput -> Encoding toJSON :: DerivationInput -> Value $ctoJSON :: DerivationInput -> Value ToJSON, Value -> Parser [DerivationInput] Value -> Parser DerivationInput (Value -> Parser DerivationInput) -> (Value -> Parser [DerivationInput]) -> FromJSON DerivationInput forall a. (Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a parseJSONList :: Value -> Parser [DerivationInput] $cparseJSONList :: Value -> Parser [DerivationInput] parseJSON :: Value -> Parser DerivationInput $cparseJSON :: Value -> Parser DerivationInput FromJSON, Proxy DerivationInput -> Declare (Definitions Schema) NamedSchema (Proxy DerivationInput -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationInput forall a. (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a declareNamedSchema :: Proxy DerivationInput -> Declare (Definitions Schema) NamedSchema $cdeclareNamedSchema :: Proxy DerivationInput -> Declare (Definitions Schema) NamedSchema ToSchema)