{-# LANGUAGE DeriveAnyClass #-} module Hercules.API.Agent.LifeCycle.ServiceInfo ( ServiceInfo (..), ) where import Hercules.API.Prelude data ServiceInfo = ServiceInfo { ServiceInfo -> (Int, Int) version :: (Int, Int), ServiceInfo -> Text agentSocketBaseURL :: Text, ServiceInfo -> Text bulkSocketBaseURL :: Text } deriving ((forall x. ServiceInfo -> Rep ServiceInfo x) -> (forall x. Rep ServiceInfo x -> ServiceInfo) -> Generic ServiceInfo forall x. Rep ServiceInfo x -> ServiceInfo forall x. ServiceInfo -> Rep ServiceInfo x forall a. (forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a $cfrom :: forall x. ServiceInfo -> Rep ServiceInfo x from :: forall x. ServiceInfo -> Rep ServiceInfo x $cto :: forall x. Rep ServiceInfo x -> ServiceInfo to :: forall x. Rep ServiceInfo x -> ServiceInfo Generic, Int -> ServiceInfo -> ShowS [ServiceInfo] -> ShowS ServiceInfo -> String (Int -> ServiceInfo -> ShowS) -> (ServiceInfo -> String) -> ([ServiceInfo] -> ShowS) -> Show ServiceInfo forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> ServiceInfo -> ShowS showsPrec :: Int -> ServiceInfo -> ShowS $cshow :: ServiceInfo -> String show :: ServiceInfo -> String $cshowList :: [ServiceInfo] -> ShowS showList :: [ServiceInfo] -> ShowS Show, ServiceInfo -> ServiceInfo -> Bool (ServiceInfo -> ServiceInfo -> Bool) -> (ServiceInfo -> ServiceInfo -> Bool) -> Eq ServiceInfo forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a $c== :: ServiceInfo -> ServiceInfo -> Bool == :: ServiceInfo -> ServiceInfo -> Bool $c/= :: ServiceInfo -> ServiceInfo -> Bool /= :: ServiceInfo -> ServiceInfo -> Bool Eq, ServiceInfo -> () (ServiceInfo -> ()) -> NFData ServiceInfo forall a. (a -> ()) -> NFData a $crnf :: ServiceInfo -> () rnf :: ServiceInfo -> () NFData, [ServiceInfo] -> Value [ServiceInfo] -> Encoding ServiceInfo -> Value ServiceInfo -> Encoding (ServiceInfo -> Value) -> (ServiceInfo -> Encoding) -> ([ServiceInfo] -> Value) -> ([ServiceInfo] -> Encoding) -> ToJSON ServiceInfo forall a. (a -> Value) -> (a -> Encoding) -> ([a] -> Value) -> ([a] -> Encoding) -> ToJSON a $ctoJSON :: ServiceInfo -> Value toJSON :: ServiceInfo -> Value $ctoEncoding :: ServiceInfo -> Encoding toEncoding :: ServiceInfo -> Encoding $ctoJSONList :: [ServiceInfo] -> Value toJSONList :: [ServiceInfo] -> Value $ctoEncodingList :: [ServiceInfo] -> Encoding toEncodingList :: [ServiceInfo] -> Encoding ToJSON, Value -> Parser [ServiceInfo] Value -> Parser ServiceInfo (Value -> Parser ServiceInfo) -> (Value -> Parser [ServiceInfo]) -> FromJSON ServiceInfo forall a. (Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a $cparseJSON :: Value -> Parser ServiceInfo parseJSON :: Value -> Parser ServiceInfo $cparseJSONList :: Value -> Parser [ServiceInfo] parseJSONList :: Value -> Parser [ServiceInfo] FromJSON)