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