module Cachix.Types.DeployResponse.V1 where import Data.Aeson ( FromJSON, ToJSON, ) import Data.HashMap.Strict import Data.Swagger (ToSchema) import Protolude newtype DeployResponse = DeployResponse { DeployResponse -> HashMap Text Text agents :: HashMap Text Text } deriving stock (Int -> DeployResponse -> ShowS [DeployResponse] -> ShowS DeployResponse -> String forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a showList :: [DeployResponse] -> ShowS $cshowList :: [DeployResponse] -> ShowS show :: DeployResponse -> String $cshow :: DeployResponse -> String showsPrec :: Int -> DeployResponse -> ShowS $cshowsPrec :: Int -> DeployResponse -> ShowS Show, forall x. Rep DeployResponse x -> DeployResponse forall x. DeployResponse -> Rep DeployResponse x forall a. (forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a $cto :: forall x. Rep DeployResponse x -> DeployResponse $cfrom :: forall x. DeployResponse -> Rep DeployResponse x Generic) deriving anyclass (Value -> Parser [DeployResponse] Value -> Parser DeployResponse forall a. (Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a parseJSONList :: Value -> Parser [DeployResponse] $cparseJSONList :: Value -> Parser [DeployResponse] parseJSON :: Value -> Parser DeployResponse $cparseJSON :: Value -> Parser DeployResponse FromJSON, [DeployResponse] -> Encoding [DeployResponse] -> Value DeployResponse -> Encoding DeployResponse -> Value forall a. (a -> Value) -> (a -> Encoding) -> ([a] -> Value) -> ([a] -> Encoding) -> ToJSON a toEncodingList :: [DeployResponse] -> Encoding $ctoEncodingList :: [DeployResponse] -> Encoding toJSONList :: [DeployResponse] -> Value $ctoJSONList :: [DeployResponse] -> Value toEncoding :: DeployResponse -> Encoding $ctoEncoding :: DeployResponse -> Encoding toJSON :: DeployResponse -> Value $ctoJSON :: DeployResponse -> Value ToJSON, Proxy DeployResponse -> Declare (Definitions Schema) NamedSchema forall a. (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a declareNamedSchema :: Proxy DeployResponse -> Declare (Definitions Schema) NamedSchema $cdeclareNamedSchema :: Proxy DeployResponse -> Declare (Definitions Schema) NamedSchema ToSchema, DeployResponse -> () forall a. (a -> ()) -> NFData a rnf :: DeployResponse -> () $crnf :: DeployResponse -> () NFData)