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