module TD.Query.GetApplicationConfig
(GetApplicationConfig(..)
) where
import qualified Data.Aeson as A
import qualified Data.Aeson.Types as AT
import qualified TD.Lib.Internal as I
data GetApplicationConfig
= GetApplicationConfig
deriving (GetApplicationConfig -> GetApplicationConfig -> Bool
(GetApplicationConfig -> GetApplicationConfig -> Bool)
-> (GetApplicationConfig -> GetApplicationConfig -> Bool)
-> Eq GetApplicationConfig
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GetApplicationConfig -> GetApplicationConfig -> Bool
== :: GetApplicationConfig -> GetApplicationConfig -> Bool
$c/= :: GetApplicationConfig -> GetApplicationConfig -> Bool
/= :: GetApplicationConfig -> GetApplicationConfig -> Bool
Eq, Int -> GetApplicationConfig -> ShowS
[GetApplicationConfig] -> ShowS
GetApplicationConfig -> String
(Int -> GetApplicationConfig -> ShowS)
-> (GetApplicationConfig -> String)
-> ([GetApplicationConfig] -> ShowS)
-> Show GetApplicationConfig
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GetApplicationConfig -> ShowS
showsPrec :: Int -> GetApplicationConfig -> ShowS
$cshow :: GetApplicationConfig -> String
show :: GetApplicationConfig -> String
$cshowList :: [GetApplicationConfig] -> ShowS
showList :: [GetApplicationConfig] -> ShowS
Show)
instance I.ShortShow GetApplicationConfig where
shortShow :: GetApplicationConfig -> String
shortShow
GetApplicationConfig
GetApplicationConfig
= String
"GetApplicationConfig"
instance AT.ToJSON GetApplicationConfig where
toJSON :: GetApplicationConfig -> Value
toJSON
GetApplicationConfig
GetApplicationConfig
= [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
"getApplicationConfig"
]