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