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