hercules-ci-api-agent-0.4.2.0: src/Hercules/API/Agent/Evaluate/EvaluateEvent/InputDeclaration.hs
{-# LANGUAGE DeriveAnyClass #-}
module Hercules.API.Agent.Evaluate.EvaluateEvent.InputDeclaration where
import Hercules.API.Prelude
data InputDeclaration
= SiblingInput SiblingInput
| -- | Only exists to ensure correct serialization format. Will be replaced by a real second constructor.
BogusInput Text
deriving (Generic, Show, Eq, NFData, FromJSON, ToJSON)
data SiblingInput = MkSiblingInput
{ project :: Text,
ref :: Maybe Text
}
deriving (Generic, Show, Eq, NFData, FromJSON, ToJSON)