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