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