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