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