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