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 (Int -> DeployResponse -> ShowS) -> (DeployResponse -> String) -> ([DeployResponse] -> ShowS) -> Show DeployResponse forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> DeployResponse -> ShowS showsPrec :: Int -> DeployResponse -> ShowS $cshow :: DeployResponse -> String show :: DeployResponse -> String $cshowList :: [DeployResponse] -> ShowS showList :: [DeployResponse] -> ShowS Show, (forall x. DeployResponse -> Rep DeployResponse x) -> (forall x. Rep DeployResponse x -> DeployResponse) -> Generic DeployResponse 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 $cfrom :: forall x. DeployResponse -> Rep DeployResponse x from :: forall x. DeployResponse -> Rep DeployResponse x $cto :: forall x. Rep DeployResponse x -> DeployResponse to :: forall x. Rep DeployResponse x -> DeployResponse Generic) deriving anyclass (Maybe DeployResponse Value -> Parser [DeployResponse] Value -> Parser DeployResponse (Value -> Parser DeployResponse) -> (Value -> Parser [DeployResponse]) -> Maybe DeployResponse -> FromJSON DeployResponse forall a. (Value -> Parser a) -> (Value -> Parser [a]) -> Maybe a -> FromJSON a $cparseJSON :: Value -> Parser DeployResponse parseJSON :: Value -> Parser DeployResponse $cparseJSONList :: Value -> Parser [DeployResponse] parseJSONList :: Value -> Parser [DeployResponse] $comittedField :: Maybe DeployResponse omittedField :: Maybe DeployResponse FromJSON, [DeployResponse] -> Value [DeployResponse] -> Encoding DeployResponse -> Bool DeployResponse -> Value DeployResponse -> Encoding (DeployResponse -> Value) -> (DeployResponse -> Encoding) -> ([DeployResponse] -> Value) -> ([DeployResponse] -> Encoding) -> (DeployResponse -> Bool) -> ToJSON DeployResponse forall a. (a -> Value) -> (a -> Encoding) -> ([a] -> Value) -> ([a] -> Encoding) -> (a -> Bool) -> ToJSON a $ctoJSON :: DeployResponse -> Value toJSON :: DeployResponse -> Value $ctoEncoding :: DeployResponse -> Encoding toEncoding :: DeployResponse -> Encoding $ctoJSONList :: [DeployResponse] -> Value toJSONList :: [DeployResponse] -> Value $ctoEncodingList :: [DeployResponse] -> Encoding toEncodingList :: [DeployResponse] -> Encoding $comitField :: DeployResponse -> Bool omitField :: DeployResponse -> Bool ToJSON, Proxy DeployResponse -> Declare (Definitions Schema) NamedSchema (Proxy DeployResponse -> Declare (Definitions Schema) NamedSchema) -> ToSchema DeployResponse forall a. (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DeployResponse -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DeployResponse -> Declare (Definitions Schema) NamedSchema ToSchema, DeployResponse -> () (DeployResponse -> ()) -> NFData DeployResponse forall a. (a -> ()) -> NFData a $crnf :: DeployResponse -> () rnf :: DeployResponse -> () NFData)