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