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