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