{-# LANGUAGE DeriveAnyClass #-} module Hercules.API.Agent.Evaluate.EvaluateEvent where import Hercules.API.Agent.Evaluate.EvaluateEvent.AttributeErrorEvent ( AttributeErrorEvent, ) import Hercules.API.Agent.Evaluate.EvaluateEvent.AttributeEvent ( AttributeEvent, ) import Hercules.API.Agent.Evaluate.EvaluateEvent.BuildRequest ( BuildRequest, ) import Hercules.API.Agent.Evaluate.EvaluateEvent.BuildRequired ( BuildRequired, ) import Hercules.API.Agent.Evaluate.EvaluateEvent.DerivationInfo ( DerivationInfo, ) import Hercules.API.Agent.Evaluate.EvaluateEvent.Message ( Message, ) import Hercules.API.Agent.Evaluate.EvaluateEvent.PushedAll ( PushedAll, ) import Hercules.API.Prelude data EvaluateEvent = Attribute AttributeEvent | AttributeError AttributeErrorEvent | Message Message | DerivationInfo DerivationInfo | PushedAll PushedAll | BuildRequired BuildRequired | BuildRequest BuildRequest deriving ((forall x. EvaluateEvent -> Rep EvaluateEvent x) -> (forall x. Rep EvaluateEvent x -> EvaluateEvent) -> Generic EvaluateEvent forall x. Rep EvaluateEvent x -> EvaluateEvent forall x. EvaluateEvent -> Rep EvaluateEvent x forall a. (forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a $cto :: forall x. Rep EvaluateEvent x -> EvaluateEvent $cfrom :: forall x. EvaluateEvent -> Rep EvaluateEvent x Generic, Int -> EvaluateEvent -> ShowS [EvaluateEvent] -> ShowS EvaluateEvent -> String (Int -> EvaluateEvent -> ShowS) -> (EvaluateEvent -> String) -> ([EvaluateEvent] -> ShowS) -> Show EvaluateEvent forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a showList :: [EvaluateEvent] -> ShowS $cshowList :: [EvaluateEvent] -> ShowS show :: EvaluateEvent -> String $cshow :: EvaluateEvent -> String showsPrec :: Int -> EvaluateEvent -> ShowS $cshowsPrec :: Int -> EvaluateEvent -> ShowS Show, EvaluateEvent -> EvaluateEvent -> Bool (EvaluateEvent -> EvaluateEvent -> Bool) -> (EvaluateEvent -> EvaluateEvent -> Bool) -> Eq EvaluateEvent forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a /= :: EvaluateEvent -> EvaluateEvent -> Bool $c/= :: EvaluateEvent -> EvaluateEvent -> Bool == :: EvaluateEvent -> EvaluateEvent -> Bool $c== :: EvaluateEvent -> EvaluateEvent -> Bool Eq, EvaluateEvent -> () (EvaluateEvent -> ()) -> NFData EvaluateEvent forall a. (a -> ()) -> NFData a rnf :: EvaluateEvent -> () $crnf :: EvaluateEvent -> () NFData, [EvaluateEvent] -> Encoding [EvaluateEvent] -> Value EvaluateEvent -> Encoding EvaluateEvent -> Value (EvaluateEvent -> Value) -> (EvaluateEvent -> Encoding) -> ([EvaluateEvent] -> Value) -> ([EvaluateEvent] -> Encoding) -> ToJSON EvaluateEvent forall a. (a -> Value) -> (a -> Encoding) -> ([a] -> Value) -> ([a] -> Encoding) -> ToJSON a toEncodingList :: [EvaluateEvent] -> Encoding $ctoEncodingList :: [EvaluateEvent] -> Encoding toJSONList :: [EvaluateEvent] -> Value $ctoJSONList :: [EvaluateEvent] -> Value toEncoding :: EvaluateEvent -> Encoding $ctoEncoding :: EvaluateEvent -> Encoding toJSON :: EvaluateEvent -> Value $ctoJSON :: EvaluateEvent -> Value ToJSON, Value -> Parser [EvaluateEvent] Value -> Parser EvaluateEvent (Value -> Parser EvaluateEvent) -> (Value -> Parser [EvaluateEvent]) -> FromJSON EvaluateEvent forall a. (Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a parseJSONList :: Value -> Parser [EvaluateEvent] $cparseJSONList :: Value -> Parser [EvaluateEvent] parseJSON :: Value -> Parser EvaluateEvent $cparseJSON :: Value -> Parser EvaluateEvent FromJSON)