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