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