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