module TD.Query.GetLogVerbosityLevel
(GetLogVerbosityLevel(..)
) where
import qualified Data.Aeson as A
import qualified Data.Aeson.Types as AT
import qualified TD.Lib.Internal as I
data GetLogVerbosityLevel
= GetLogVerbosityLevel
deriving (GetLogVerbosityLevel -> GetLogVerbosityLevel -> Bool
(GetLogVerbosityLevel -> GetLogVerbosityLevel -> Bool)
-> (GetLogVerbosityLevel -> GetLogVerbosityLevel -> Bool)
-> Eq GetLogVerbosityLevel
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GetLogVerbosityLevel -> GetLogVerbosityLevel -> Bool
== :: GetLogVerbosityLevel -> GetLogVerbosityLevel -> Bool
$c/= :: GetLogVerbosityLevel -> GetLogVerbosityLevel -> Bool
/= :: GetLogVerbosityLevel -> GetLogVerbosityLevel -> Bool
Eq, Int -> GetLogVerbosityLevel -> ShowS
[GetLogVerbosityLevel] -> ShowS
GetLogVerbosityLevel -> String
(Int -> GetLogVerbosityLevel -> ShowS)
-> (GetLogVerbosityLevel -> String)
-> ([GetLogVerbosityLevel] -> ShowS)
-> Show GetLogVerbosityLevel
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GetLogVerbosityLevel -> ShowS
showsPrec :: Int -> GetLogVerbosityLevel -> ShowS
$cshow :: GetLogVerbosityLevel -> String
show :: GetLogVerbosityLevel -> String
$cshowList :: [GetLogVerbosityLevel] -> ShowS
showList :: [GetLogVerbosityLevel] -> ShowS
Show)
instance I.ShortShow GetLogVerbosityLevel where
shortShow :: GetLogVerbosityLevel -> String
shortShow
GetLogVerbosityLevel
GetLogVerbosityLevel
= String
"GetLogVerbosityLevel"
instance AT.ToJSON GetLogVerbosityLevel where
toJSON :: GetLogVerbosityLevel -> Value
toJSON
GetLogVerbosityLevel
GetLogVerbosityLevel
= [Pair] -> Value
A.object
[ Key
"@type" Key -> Value -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Text -> Value
AT.String Text
"getLogVerbosityLevel"
]