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