{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE DeriveAnyClass #-}

module Hercules.API.Agent.Evaluate.EvaluateEvent.AttributeIFDEvent where

import Hercules.API.Prelude

data AttributeIFDEvent = AttributeIFDEvent
  { AttributeIFDEvent -> [Text]
expressionPath :: [Text],
    AttributeIFDEvent -> Text
derivationPath :: Text,
    AttributeIFDEvent -> Text
derivationOutput :: Text,
    AttributeIFDEvent -> Bool
done :: Bool,
    AttributeIFDEvent -> Int
index :: Int
  }
  deriving ((forall x. AttributeIFDEvent -> Rep AttributeIFDEvent x)
-> (forall x. Rep AttributeIFDEvent x -> AttributeIFDEvent)
-> Generic AttributeIFDEvent
forall x. Rep AttributeIFDEvent x -> AttributeIFDEvent
forall x. AttributeIFDEvent -> Rep AttributeIFDEvent x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. AttributeIFDEvent -> Rep AttributeIFDEvent x
from :: forall x. AttributeIFDEvent -> Rep AttributeIFDEvent x
$cto :: forall x. Rep AttributeIFDEvent x -> AttributeIFDEvent
to :: forall x. Rep AttributeIFDEvent x -> AttributeIFDEvent
Generic, Int -> AttributeIFDEvent -> ShowS
[AttributeIFDEvent] -> ShowS
AttributeIFDEvent -> String
(Int -> AttributeIFDEvent -> ShowS)
-> (AttributeIFDEvent -> String)
-> ([AttributeIFDEvent] -> ShowS)
-> Show AttributeIFDEvent
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AttributeIFDEvent -> ShowS
showsPrec :: Int -> AttributeIFDEvent -> ShowS
$cshow :: AttributeIFDEvent -> String
show :: AttributeIFDEvent -> String
$cshowList :: [AttributeIFDEvent] -> ShowS
showList :: [AttributeIFDEvent] -> ShowS
Show, AttributeIFDEvent -> AttributeIFDEvent -> Bool
(AttributeIFDEvent -> AttributeIFDEvent -> Bool)
-> (AttributeIFDEvent -> AttributeIFDEvent -> Bool)
-> Eq AttributeIFDEvent
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AttributeIFDEvent -> AttributeIFDEvent -> Bool
== :: AttributeIFDEvent -> AttributeIFDEvent -> Bool
$c/= :: AttributeIFDEvent -> AttributeIFDEvent -> Bool
/= :: AttributeIFDEvent -> AttributeIFDEvent -> Bool
Eq, AttributeIFDEvent -> ()
(AttributeIFDEvent -> ()) -> NFData AttributeIFDEvent
forall a. (a -> ()) -> NFData a
$crnf :: AttributeIFDEvent -> ()
rnf :: AttributeIFDEvent -> ()
NFData, Value -> Parser [AttributeIFDEvent]
Value -> Parser AttributeIFDEvent
(Value -> Parser AttributeIFDEvent)
-> (Value -> Parser [AttributeIFDEvent])
-> FromJSON AttributeIFDEvent
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
$cparseJSON :: Value -> Parser AttributeIFDEvent
parseJSON :: Value -> Parser AttributeIFDEvent
$cparseJSONList :: Value -> Parser [AttributeIFDEvent]
parseJSONList :: Value -> Parser [AttributeIFDEvent]
FromJSON, [AttributeIFDEvent] -> Value
[AttributeIFDEvent] -> Encoding
AttributeIFDEvent -> Value
AttributeIFDEvent -> Encoding
(AttributeIFDEvent -> Value)
-> (AttributeIFDEvent -> Encoding)
-> ([AttributeIFDEvent] -> Value)
-> ([AttributeIFDEvent] -> Encoding)
-> ToJSON AttributeIFDEvent
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
$ctoJSON :: AttributeIFDEvent -> Value
toJSON :: AttributeIFDEvent -> Value
$ctoEncoding :: AttributeIFDEvent -> Encoding
toEncoding :: AttributeIFDEvent -> Encoding
$ctoJSONList :: [AttributeIFDEvent] -> Value
toJSONList :: [AttributeIFDEvent] -> Value
$ctoEncodingList :: [AttributeIFDEvent] -> Encoding
toEncodingList :: [AttributeIFDEvent] -> Encoding
ToJSON)