{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE GADTs         #-}

module HaskellWorks.TestContainers.LocalStack.Types
  ( LocalStackEndpoint(..)
  ) where

import           HaskellWorks.Prelude

data LocalStackEndpoint = LocalStackEndpoint
  { LocalStackEndpoint -> String
host :: String
  , LocalStackEndpoint -> Int
port :: Int
  } deriving (LocalStackEndpoint -> LocalStackEndpoint -> Bool
(LocalStackEndpoint -> LocalStackEndpoint -> Bool)
-> (LocalStackEndpoint -> LocalStackEndpoint -> Bool)
-> Eq LocalStackEndpoint
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: LocalStackEndpoint -> LocalStackEndpoint -> Bool
== :: LocalStackEndpoint -> LocalStackEndpoint -> Bool
$c/= :: LocalStackEndpoint -> LocalStackEndpoint -> Bool
/= :: LocalStackEndpoint -> LocalStackEndpoint -> Bool
Eq, Int -> LocalStackEndpoint -> ShowS
[LocalStackEndpoint] -> ShowS
LocalStackEndpoint -> String
(Int -> LocalStackEndpoint -> ShowS)
-> (LocalStackEndpoint -> String)
-> ([LocalStackEndpoint] -> ShowS)
-> Show LocalStackEndpoint
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> LocalStackEndpoint -> ShowS
showsPrec :: Int -> LocalStackEndpoint -> ShowS
$cshow :: LocalStackEndpoint -> String
show :: LocalStackEndpoint -> String
$cshowList :: [LocalStackEndpoint] -> ShowS
showList :: [LocalStackEndpoint] -> ShowS
Show, (forall x. LocalStackEndpoint -> Rep LocalStackEndpoint x)
-> (forall x. Rep LocalStackEndpoint x -> LocalStackEndpoint)
-> Generic LocalStackEndpoint
forall x. Rep LocalStackEndpoint x -> LocalStackEndpoint
forall x. LocalStackEndpoint -> Rep LocalStackEndpoint x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. LocalStackEndpoint -> Rep LocalStackEndpoint x
from :: forall x. LocalStackEndpoint -> Rep LocalStackEndpoint x
$cto :: forall x. Rep LocalStackEndpoint x -> LocalStackEndpoint
to :: forall x. Rep LocalStackEndpoint x -> LocalStackEndpoint
Generic)