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