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