{- ORMOLU_DISABLE -}
{- HLINT ignore -}
-- THIS IS A GENERATED FILE, DO NOT EDIT

{-# OPTIONS_GHC -Wno-unused-imports #-}
{-# OPTIONS_GHC -Wno-unused-matches #-}
{-# OPTIONS_GHC -Wno-deprecations #-}
module Language.LSP.Protocol.Internal.Types.InitializedParams where

import Control.DeepSeq
import Data.Hashable
import GHC.Generics
import Language.LSP.Protocol.Utils.Misc
import Prettyprinter
import qualified Data.Aeson as Aeson
import qualified Data.Row.Aeson as Aeson
import qualified Data.Row.Hashable as Hashable
import qualified Language.LSP.Protocol.Types.Common

{-|

-}
data InitializedParams = InitializedParams 
  { 
  }
  deriving stock (Int -> InitializedParams -> ShowS
[InitializedParams] -> ShowS
InitializedParams -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InitializedParams] -> ShowS
$cshowList :: [InitializedParams] -> ShowS
show :: InitializedParams -> String
$cshow :: InitializedParams -> String
showsPrec :: Int -> InitializedParams -> ShowS
$cshowsPrec :: Int -> InitializedParams -> ShowS
Show, InitializedParams -> InitializedParams -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InitializedParams -> InitializedParams -> Bool
$c/= :: InitializedParams -> InitializedParams -> Bool
== :: InitializedParams -> InitializedParams -> Bool
$c== :: InitializedParams -> InitializedParams -> Bool
Eq, Eq InitializedParams
InitializedParams -> InitializedParams -> Bool
InitializedParams -> InitializedParams -> Ordering
InitializedParams -> InitializedParams -> InitializedParams
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: InitializedParams -> InitializedParams -> InitializedParams
$cmin :: InitializedParams -> InitializedParams -> InitializedParams
max :: InitializedParams -> InitializedParams -> InitializedParams
$cmax :: InitializedParams -> InitializedParams -> InitializedParams
>= :: InitializedParams -> InitializedParams -> Bool
$c>= :: InitializedParams -> InitializedParams -> Bool
> :: InitializedParams -> InitializedParams -> Bool
$c> :: InitializedParams -> InitializedParams -> Bool
<= :: InitializedParams -> InitializedParams -> Bool
$c<= :: InitializedParams -> InitializedParams -> Bool
< :: InitializedParams -> InitializedParams -> Bool
$c< :: InitializedParams -> InitializedParams -> Bool
compare :: InitializedParams -> InitializedParams -> Ordering
$ccompare :: InitializedParams -> InitializedParams -> Ordering
Ord, forall x. Rep InitializedParams x -> InitializedParams
forall x. InitializedParams -> Rep InitializedParams x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InitializedParams x -> InitializedParams
$cfrom :: forall x. InitializedParams -> Rep InitializedParams x
Generic)
  deriving anyclass (InitializedParams -> ()
forall a. (a -> ()) -> NFData a
rnf :: InitializedParams -> ()
$crnf :: InitializedParams -> ()
NFData, Eq InitializedParams
Int -> InitializedParams -> Int
InitializedParams -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: InitializedParams -> Int
$chash :: InitializedParams -> Int
hashWithSalt :: Int -> InitializedParams -> Int
$chashWithSalt :: Int -> InitializedParams -> Int
Hashable)
  deriving forall ann. [InitializedParams] -> Doc ann
forall ann. InitializedParams -> Doc ann
forall a.
(forall ann. a -> Doc ann)
-> (forall ann. [a] -> Doc ann) -> Pretty a
prettyList :: forall ann. [InitializedParams] -> Doc ann
$cprettyList :: forall ann. [InitializedParams] -> Doc ann
pretty :: forall ann. InitializedParams -> Doc ann
$cpretty :: forall ann. InitializedParams -> Doc ann
Pretty via (ViaJSON InitializedParams)

instance Aeson.ToJSON InitializedParams where
  toJSON :: InitializedParams -> Value
toJSON (InitializedParams
InitializedParams ) = [Pair] -> Value
Aeson.object forall a b. (a -> b) -> a -> b
$ forall (t :: * -> *) a. Foldable t => t [a] -> [a]
concat forall a b. (a -> b) -> a -> b
$  []

instance Aeson.FromJSON InitializedParams where
  parseJSON :: Value -> Parser InitializedParams
parseJSON = forall a. String -> (Object -> Parser a) -> Value -> Parser a
Aeson.withObject String
"InitializedParams" forall a b. (a -> b) -> a -> b
$ \Object
arg -> forall (f :: * -> *) a. Applicative f => a -> f a
pure InitializedParams
InitializedParams