Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data StoryPrivacySettings Source #
Describes privacy settings of a story
StoryPrivacySettingsEveryone | The story can be viewed by everyone |
| |
StoryPrivacySettingsContacts | The story can be viewed by all contacts except chosen users |
| |
StoryPrivacySettingsCloseFriends | The story can be viewed by all close friends |
StoryPrivacySettingsSelectedUsers | The story can be viewed by certain specified users |
Instances
FromJSON StoryPrivacySettings Source # | |
Defined in TD.Data.StoryPrivacySettings parseJSON :: Value -> Parser StoryPrivacySettings # parseJSONList :: Value -> Parser [StoryPrivacySettings] # | |
ToJSON StoryPrivacySettings Source # | |
Defined in TD.Data.StoryPrivacySettings toJSON :: StoryPrivacySettings -> Value # toEncoding :: StoryPrivacySettings -> Encoding # toJSONList :: [StoryPrivacySettings] -> Value # toEncodingList :: [StoryPrivacySettings] -> Encoding # | |
Show StoryPrivacySettings Source # | |
Defined in TD.Data.StoryPrivacySettings showsPrec :: Int -> StoryPrivacySettings -> ShowS # show :: StoryPrivacySettings -> String # showList :: [StoryPrivacySettings] -> ShowS # | |
Eq StoryPrivacySettings Source # | |
Defined in TD.Data.StoryPrivacySettings (==) :: StoryPrivacySettings -> StoryPrivacySettings -> Bool # (/=) :: StoryPrivacySettings -> StoryPrivacySettings -> Bool # | |
ShortShow StoryPrivacySettings Source # | |
Defined in TD.Data.StoryPrivacySettings |