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