mattermost-api-50200.5.0: Client API for Mattermost chat system

Safe HaskellNone
LanguageHaskell2010

Network.Mattermost.Types

Synopsis

Documentation

data ChannelUnread Source #

Instances
Eq ChannelUnread Source # 
Instance details

Defined in Network.Mattermost.Types

Read ChannelUnread Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS ChannelUnread

readList :: ReadS [ChannelUnread]

readPrec :: ReadPrec ChannelUnread

readListPrec :: ReadPrec [ChannelUnread]

Show ChannelUnread Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> ChannelUnread -> ShowS

show :: ChannelUnread -> String

showList :: [ChannelUnread] -> ShowS

FromJSON ChannelUnread Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser ChannelUnread

parseJSONList :: Value -> Parser [ChannelUnread]

ToJSON ChannelUnread Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: ChannelUnread -> Value

toEncoding :: ChannelUnread -> Encoding

toJSONList :: [ChannelUnread] -> Value

toEncodingList :: [ChannelUnread] -> Encoding

data ChannelStats Source #

Constructors

ChannelStats 
Instances
Eq ChannelStats Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: ChannelStats -> ChannelStats -> Bool

(/=) :: ChannelStats -> ChannelStats -> Bool

Read ChannelStats Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS ChannelStats

readList :: ReadS [ChannelStats]

readPrec :: ReadPrec ChannelStats

readListPrec :: ReadPrec [ChannelStats]

Show ChannelStats Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> ChannelStats -> ShowS

show :: ChannelStats -> String

showList :: [ChannelStats] -> ShowS

FromJSON ChannelStats Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser ChannelStats

parseJSONList :: Value -> Parser [ChannelStats]

ToJSON ChannelStats Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: ChannelStats -> Value

toEncoding :: ChannelStats -> Encoding

toJSONList :: [ChannelStats] -> Value

toEncodingList :: [ChannelStats] -> Encoding

data InitialTeamData Source #

Constructors

InitialTeamData 

Fields

Instances
Eq InitialTeamData Source # 
Instance details

Defined in Network.Mattermost.Types

Read InitialTeamData Source # 
Instance details

Defined in Network.Mattermost.Types

Show InitialTeamData Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> InitialTeamData -> ShowS

show :: InitialTeamData -> String

showList :: [InitialTeamData] -> ShowS

FromJSON InitialTeamData Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser InitialTeamData

parseJSONList :: Value -> Parser [InitialTeamData]

ToJSON InitialTeamData Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: InitialTeamData -> Value

toEncoding :: InitialTeamData -> Encoding

toJSONList :: [InitialTeamData] -> Value

toEncodingList :: [InitialTeamData] -> Encoding

data ChannelPatch Source #

Constructors

ChannelPatch 

Fields

Instances
Eq ChannelPatch Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: ChannelPatch -> ChannelPatch -> Bool

(/=) :: ChannelPatch -> ChannelPatch -> Bool

Read ChannelPatch Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS ChannelPatch

readList :: ReadS [ChannelPatch]

readPrec :: ReadPrec ChannelPatch

readListPrec :: ReadPrec [ChannelPatch]

Show ChannelPatch Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> ChannelPatch -> ShowS

show :: ChannelPatch -> String

showList :: [ChannelPatch] -> ShowS

FromJSON ChannelPatch Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser ChannelPatch

parseJSONList :: Value -> Parser [ChannelPatch]

ToJSON ChannelPatch Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: ChannelPatch -> Value

toEncoding :: ChannelPatch -> Encoding

toJSONList :: [ChannelPatch] -> Value

toEncodingList :: [ChannelPatch] -> Encoding

data PostUpdate Source #

Constructors

PostUpdate 

Fields

Instances
Eq PostUpdate Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: PostUpdate -> PostUpdate -> Bool

(/=) :: PostUpdate -> PostUpdate -> Bool

Read PostUpdate Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS PostUpdate

readList :: ReadS [PostUpdate]

readPrec :: ReadPrec PostUpdate

readListPrec :: ReadPrec [PostUpdate]

Show PostUpdate Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> PostUpdate -> ShowS

show :: PostUpdate -> String

showList :: [PostUpdate] -> ShowS

FromJSON PostUpdate Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser PostUpdate

parseJSONList :: Value -> Parser [PostUpdate]

ToJSON PostUpdate Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: PostUpdate -> Value

toEncoding :: PostUpdate -> Encoding

toJSONList :: [PostUpdate] -> Value

toEncodingList :: [PostUpdate] -> Encoding

data RawPost Source #

Constructors

RawPost 

Fields

Instances
Eq RawPost Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: RawPost -> RawPost -> Bool

(/=) :: RawPost -> RawPost -> Bool

Read RawPost Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS RawPost

readList :: ReadS [RawPost]

readPrec :: ReadPrec RawPost

readListPrec :: ReadPrec [RawPost]

Show RawPost Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> RawPost -> ShowS

show :: RawPost -> String

showList :: [RawPost] -> ShowS

FromJSON RawPost Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser RawPost

parseJSONList :: Value -> Parser [RawPost]

ToJSON RawPost Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: RawPost -> Value

toEncoding :: RawPost -> Encoding

toJSONList :: [RawPost] -> Value

toEncodingList :: [RawPost] -> Encoding

data UserSearch Source #

Constructors

UserSearch 

Fields

Instances
Eq UserSearch Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: UserSearch -> UserSearch -> Bool

(/=) :: UserSearch -> UserSearch -> Bool

Read UserSearch Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS UserSearch

readList :: ReadS [UserSearch]

readPrec :: ReadPrec UserSearch

readListPrec :: ReadPrec [UserSearch]

Show UserSearch Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> UserSearch -> ShowS

show :: UserSearch -> String

showList :: [UserSearch] -> ShowS

FromJSON UserSearch Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser UserSearch

parseJSONList :: Value -> Parser [UserSearch]

ToJSON UserSearch Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: UserSearch -> Value

toEncoding :: UserSearch -> Encoding

toJSONList :: [UserSearch] -> Value

toEncodingList :: [UserSearch] -> Encoding

data Status Source #

Constructors

Status 
Instances
FromJSON Status Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser Status

parseJSONList :: Value -> Parser [Status]

ToJSON Status Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: Status -> Value

toEncoding :: Status -> Encoding

toJSONList :: [Status] -> Value

toEncodingList :: [Status] -> Encoding

data ChannelMember Source #

Instances
Eq ChannelMember Source # 
Instance details

Defined in Network.Mattermost.Types

Read ChannelMember Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS ChannelMember

readList :: ReadS [ChannelMember]

readPrec :: ReadPrec ChannelMember

readListPrec :: ReadPrec [ChannelMember]

Show ChannelMember Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> ChannelMember -> ShowS

show :: ChannelMember -> String

showList :: [ChannelMember] -> ShowS

FromJSON ChannelMember Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser ChannelMember

parseJSONList :: Value -> Parser [ChannelMember]

ToJSON ChannelMember Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: ChannelMember -> Value

toEncoding :: ChannelMember -> Encoding

toJSONList :: [ChannelMember] -> Value

toEncodingList :: [ChannelMember] -> Encoding

data MinChannelMember Source #

Instances
Eq MinChannelMember Source # 
Instance details

Defined in Network.Mattermost.Types

Read MinChannelMember Source # 
Instance details

Defined in Network.Mattermost.Types

Show MinChannelMember Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> MinChannelMember -> ShowS

show :: MinChannelMember -> String

showList :: [MinChannelMember] -> ShowS

FromJSON MinChannelMember Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser MinChannelMember

parseJSONList :: Value -> Parser [MinChannelMember]

ToJSON MinChannelMember Source # 
Instance details

Defined in Network.Mattermost.Types

newtype ReportId Source #

Constructors

RI 

Fields

Instances
Eq ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: ReportId -> ReportId -> Bool

(/=) :: ReportId -> ReportId -> Bool

Ord ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: ReportId -> ReportId -> Ordering

(<) :: ReportId -> ReportId -> Bool

(<=) :: ReportId -> ReportId -> Bool

(>) :: ReportId -> ReportId -> Bool

(>=) :: ReportId -> ReportId -> Bool

max :: ReportId -> ReportId -> ReportId

min :: ReportId -> ReportId -> ReportId

Read ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS ReportId

readList :: ReadS [ReportId]

readPrec :: ReadPrec ReportId

readListPrec :: ReadPrec [ReportId]

Show ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> ReportId -> ShowS

show :: ReportId -> String

showList :: [ReportId] -> ShowS

FromJSON ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser ReportId

parseJSONList :: Value -> Parser [ReportId]

FromJSONKey ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

fromJSONKey :: FromJSONKeyFunction ReportId

fromJSONKeyList :: FromJSONKeyFunction [ReportId]

ToJSON ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: ReportId -> Value

toEncoding :: ReportId -> Encoding

toJSONList :: [ReportId] -> Value

toEncodingList :: [ReportId] -> Encoding

ToJSONKey ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSONKey :: ToJSONKeyFunction ReportId

toJSONKeyList :: ToJSONKeyFunction [ReportId]

PrintfArg ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

formatArg :: ReportId -> FieldFormatter

parseFormat :: ReportId -> ModifierParser

Hashable ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> ReportId -> Int

hash :: ReportId -> Int

IsId ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

newtype EmojiId Source #

Constructors

EI 

Fields

Instances
Eq EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: EmojiId -> EmojiId -> Bool

(/=) :: EmojiId -> EmojiId -> Bool

Ord EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: EmojiId -> EmojiId -> Ordering

(<) :: EmojiId -> EmojiId -> Bool

(<=) :: EmojiId -> EmojiId -> Bool

(>) :: EmojiId -> EmojiId -> Bool

(>=) :: EmojiId -> EmojiId -> Bool

max :: EmojiId -> EmojiId -> EmojiId

min :: EmojiId -> EmojiId -> EmojiId

Read EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS EmojiId

readList :: ReadS [EmojiId]

readPrec :: ReadPrec EmojiId

readListPrec :: ReadPrec [EmojiId]

Show EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> EmojiId -> ShowS

show :: EmojiId -> String

showList :: [EmojiId] -> ShowS

FromJSON EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser EmojiId

parseJSONList :: Value -> Parser [EmojiId]

FromJSONKey EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

fromJSONKey :: FromJSONKeyFunction EmojiId

fromJSONKeyList :: FromJSONKeyFunction [EmojiId]

ToJSON EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: EmojiId -> Value

toEncoding :: EmojiId -> Encoding

toJSONList :: [EmojiId] -> Value

toEncodingList :: [EmojiId] -> Encoding

ToJSONKey EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSONKey :: ToJSONKeyFunction EmojiId

toJSONKeyList :: ToJSONKeyFunction [EmojiId]

PrintfArg EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

formatArg :: EmojiId -> FieldFormatter

parseFormat :: EmojiId -> ModifierParser

Hashable EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> EmojiId -> Int

hash :: EmojiId -> Int

IsId EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

newtype JobId Source #

Constructors

JI 

Fields

Instances
Eq JobId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: JobId -> JobId -> Bool

(/=) :: JobId -> JobId -> Bool

Ord JobId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: JobId -> JobId -> Ordering

(<) :: JobId -> JobId -> Bool

(<=) :: JobId -> JobId -> Bool

(>) :: JobId -> JobId -> Bool

(>=) :: JobId -> JobId -> Bool

max :: JobId -> JobId -> JobId

min :: JobId -> JobId -> JobId

Read JobId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS JobId

readList :: ReadS [JobId]

readPrec :: ReadPrec JobId

readListPrec :: ReadPrec [JobId]

Show JobId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> JobId -> ShowS

show :: JobId -> String

showList :: [JobId] -> ShowS

FromJSON JobId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser JobId

parseJSONList :: Value -> Parser [JobId]

FromJSONKey JobId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

fromJSONKey :: FromJSONKeyFunction JobId

fromJSONKeyList :: FromJSONKeyFunction [JobId]

ToJSON JobId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: JobId -> Value

toEncoding :: JobId -> Encoding

toJSONList :: [JobId] -> Value

toEncodingList :: [JobId] -> Encoding

ToJSONKey JobId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSONKey :: ToJSONKeyFunction JobId

toJSONKeyList :: ToJSONKeyFunction [JobId]

PrintfArg JobId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

formatArg :: JobId -> FieldFormatter

parseFormat :: JobId -> ModifierParser

Hashable JobId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> JobId -> Int

hash :: JobId -> Int

IsId JobId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toId :: JobId -> Id Source #

fromId :: Id -> JobId Source #

newtype AppId Source #

Constructors

AI 

Fields

Instances
Eq AppId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: AppId -> AppId -> Bool

(/=) :: AppId -> AppId -> Bool

Ord AppId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: AppId -> AppId -> Ordering

(<) :: AppId -> AppId -> Bool

(<=) :: AppId -> AppId -> Bool

(>) :: AppId -> AppId -> Bool

(>=) :: AppId -> AppId -> Bool

max :: AppId -> AppId -> AppId

min :: AppId -> AppId -> AppId

Read AppId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS AppId

readList :: ReadS [AppId]

readPrec :: ReadPrec AppId

readListPrec :: ReadPrec [AppId]

Show AppId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> AppId -> ShowS

show :: AppId -> String

showList :: [AppId] -> ShowS

FromJSON AppId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser AppId

parseJSONList :: Value -> Parser [AppId]

FromJSONKey AppId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

fromJSONKey :: FromJSONKeyFunction AppId

fromJSONKeyList :: FromJSONKeyFunction [AppId]

ToJSON AppId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: AppId -> Value

toEncoding :: AppId -> Encoding

toJSONList :: [AppId] -> Value

toEncodingList :: [AppId] -> Encoding

ToJSONKey AppId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSONKey :: ToJSONKeyFunction AppId

toJSONKeyList :: ToJSONKeyFunction [AppId]

PrintfArg AppId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

formatArg :: AppId -> FieldFormatter

parseFormat :: AppId -> ModifierParser

Hashable AppId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> AppId -> Int

hash :: AppId -> Int

IsId AppId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toId :: AppId -> Id Source #

fromId :: Id -> AppId Source #

newtype TokenId Source #

Constructors

TkI 

Fields

Instances
Eq TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: TokenId -> TokenId -> Bool

(/=) :: TokenId -> TokenId -> Bool

Ord TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: TokenId -> TokenId -> Ordering

(<) :: TokenId -> TokenId -> Bool

(<=) :: TokenId -> TokenId -> Bool

(>) :: TokenId -> TokenId -> Bool

(>=) :: TokenId -> TokenId -> Bool

max :: TokenId -> TokenId -> TokenId

min :: TokenId -> TokenId -> TokenId

Read TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS TokenId

readList :: ReadS [TokenId]

readPrec :: ReadPrec TokenId

readListPrec :: ReadPrec [TokenId]

Show TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> TokenId -> ShowS

show :: TokenId -> String

showList :: [TokenId] -> ShowS

FromJSON TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser TokenId

parseJSONList :: Value -> Parser [TokenId]

FromJSONKey TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

fromJSONKey :: FromJSONKeyFunction TokenId

fromJSONKeyList :: FromJSONKeyFunction [TokenId]

ToJSON TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: TokenId -> Value

toEncoding :: TokenId -> Encoding

toJSONList :: [TokenId] -> Value

toEncodingList :: [TokenId] -> Encoding

ToJSONKey TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSONKey :: ToJSONKeyFunction TokenId

toJSONKeyList :: ToJSONKeyFunction [TokenId]

PrintfArg TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

formatArg :: TokenId -> FieldFormatter

parseFormat :: TokenId -> ModifierParser

Hashable TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> TokenId -> Int

hash :: TokenId -> Int

IsId TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

newtype InviteId Source #

Constructors

II 

Fields

Instances
Eq InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: InviteId -> InviteId -> Bool

(/=) :: InviteId -> InviteId -> Bool

Ord InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: InviteId -> InviteId -> Ordering

(<) :: InviteId -> InviteId -> Bool

(<=) :: InviteId -> InviteId -> Bool

(>) :: InviteId -> InviteId -> Bool

(>=) :: InviteId -> InviteId -> Bool

max :: InviteId -> InviteId -> InviteId

min :: InviteId -> InviteId -> InviteId

Read InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS InviteId

readList :: ReadS [InviteId]

readPrec :: ReadPrec InviteId

readListPrec :: ReadPrec [InviteId]

Show InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> InviteId -> ShowS

show :: InviteId -> String

showList :: [InviteId] -> ShowS

FromJSON InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser InviteId

parseJSONList :: Value -> Parser [InviteId]

FromJSONKey InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

fromJSONKey :: FromJSONKeyFunction InviteId

fromJSONKeyList :: FromJSONKeyFunction [InviteId]

ToJSON InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: InviteId -> Value

toEncoding :: InviteId -> Encoding

toJSONList :: [InviteId] -> Value

toEncodingList :: [InviteId] -> Encoding

ToJSONKey InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSONKey :: ToJSONKeyFunction InviteId

toJSONKeyList :: ToJSONKeyFunction [InviteId]

PrintfArg InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

formatArg :: InviteId -> FieldFormatter

parseFormat :: InviteId -> ModifierParser

Hashable InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> InviteId -> Int

hash :: InviteId -> Int

IsId InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

newtype HookId Source #

Constructors

HI 

Fields

Instances
Eq HookId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: HookId -> HookId -> Bool

(/=) :: HookId -> HookId -> Bool

Ord HookId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: HookId -> HookId -> Ordering

(<) :: HookId -> HookId -> Bool

(<=) :: HookId -> HookId -> Bool

(>) :: HookId -> HookId -> Bool

(>=) :: HookId -> HookId -> Bool

max :: HookId -> HookId -> HookId

min :: HookId -> HookId -> HookId

Read HookId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS HookId

readList :: ReadS [HookId]

readPrec :: ReadPrec HookId

readListPrec :: ReadPrec [HookId]

Show HookId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> HookId -> ShowS

show :: HookId -> String

showList :: [HookId] -> ShowS

FromJSON HookId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser HookId

parseJSONList :: Value -> Parser [HookId]

FromJSONKey HookId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

fromJSONKey :: FromJSONKeyFunction HookId

fromJSONKeyList :: FromJSONKeyFunction [HookId]

ToJSON HookId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: HookId -> Value

toEncoding :: HookId -> Encoding

toJSONList :: [HookId] -> Value

toEncodingList :: [HookId] -> Encoding

ToJSONKey HookId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSONKey :: ToJSONKeyFunction HookId

toJSONKeyList :: ToJSONKeyFunction [HookId]

PrintfArg HookId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

formatArg :: HookId -> FieldFormatter

parseFormat :: HookId -> ModifierParser

Hashable HookId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> HookId -> Int

hash :: HookId -> Int

IsId HookId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toId :: HookId -> Id Source #

fromId :: Id -> HookId Source #

data FlaggedPost Source #

Instances
Eq FlaggedPost Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: FlaggedPost -> FlaggedPost -> Bool

(/=) :: FlaggedPost -> FlaggedPost -> Bool

Read FlaggedPost Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS FlaggedPost

readList :: ReadS [FlaggedPost]

readPrec :: ReadPrec FlaggedPost

readListPrec :: ReadPrec [FlaggedPost]

Show FlaggedPost Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> FlaggedPost -> ShowS

show :: FlaggedPost -> String

showList :: [FlaggedPost] -> ShowS

ToJSON FlaggedPost Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: FlaggedPost -> Value

toEncoding :: FlaggedPost -> Encoding

toJSONList :: [FlaggedPost] -> Value

toEncodingList :: [FlaggedPost] -> Encoding

data Preference Source #

Instances
Eq Preference Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: Preference -> Preference -> Bool

(/=) :: Preference -> Preference -> Bool

Read Preference Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS Preference

readList :: ReadS [Preference]

readPrec :: ReadPrec Preference

readListPrec :: ReadPrec [Preference]

Show Preference Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> Preference -> ShowS

show :: Preference -> String

showList :: [Preference] -> ShowS

FromJSON Preference Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser Preference

parseJSONList :: Value -> Parser [Preference]

ToJSON Preference Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: Preference -> Value

toEncoding :: Preference -> Encoding

toJSONList :: [Preference] -> Value

toEncodingList :: [Preference] -> Encoding

data PreferenceValue Source #

Constructors

PreferenceValue 

Fields

Instances
Eq PreferenceValue Source # 
Instance details

Defined in Network.Mattermost.Types

Read PreferenceValue Source # 
Instance details

Defined in Network.Mattermost.Types

Show PreferenceValue Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> PreferenceValue -> ShowS

show :: PreferenceValue -> String

showList :: [PreferenceValue] -> ShowS

FromJSON PreferenceValue Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser PreferenceValue

parseJSONList :: Value -> Parser [PreferenceValue]

ToJSON PreferenceValue Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: PreferenceValue -> Value

toEncoding :: PreferenceValue -> Encoding

toJSONList :: [PreferenceValue] -> Value

toEncodingList :: [PreferenceValue] -> Encoding

data PreferenceName Source #

Constructors

PreferenceName 

Fields

Instances
Eq PreferenceName Source # 
Instance details

Defined in Network.Mattermost.Types

Read PreferenceName Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS PreferenceName

readList :: ReadS [PreferenceName]

readPrec :: ReadPrec PreferenceName

readListPrec :: ReadPrec [PreferenceName]

Show PreferenceName Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> PreferenceName -> ShowS

show :: PreferenceName -> String

showList :: [PreferenceName] -> ShowS

FromJSON PreferenceName Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser PreferenceName

parseJSONList :: Value -> Parser [PreferenceName]

ToJSON PreferenceName Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: PreferenceName -> Value

toEncoding :: PreferenceName -> Encoding

toJSONList :: [PreferenceName] -> Value

toEncodingList :: [PreferenceName] -> Encoding

data PreferenceCategory Source #

Instances
Eq PreferenceCategory Source # 
Instance details

Defined in Network.Mattermost.Types

Read PreferenceCategory Source # 
Instance details

Defined in Network.Mattermost.Types

Show PreferenceCategory Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> PreferenceCategory -> ShowS

show :: PreferenceCategory -> String

showList :: [PreferenceCategory] -> ShowS

FromJSON PreferenceCategory Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser PreferenceCategory

parseJSONList :: Value -> Parser [PreferenceCategory]

ToJSON PreferenceCategory Source # 
Instance details

Defined in Network.Mattermost.Types

data Reaction Source #

Instances
Eq Reaction Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: Reaction -> Reaction -> Bool

(/=) :: Reaction -> Reaction -> Bool

Read Reaction Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS Reaction

readList :: ReadS [Reaction]

readPrec :: ReadPrec Reaction

readListPrec :: ReadPrec [Reaction]

Show Reaction Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> Reaction -> ShowS

show :: Reaction -> String

showList :: [Reaction] -> ShowS

FromJSON Reaction Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser Reaction

parseJSONList :: Value -> Parser [Reaction]

ToJSON Reaction Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: Reaction -> Value

toEncoding :: Reaction -> Encoding

toJSONList :: [Reaction] -> Value

toEncodingList :: [Reaction] -> Encoding

data TeamsCreate Source #

Constructors

TeamsCreate 
Instances
Eq TeamsCreate Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: TeamsCreate -> TeamsCreate -> Bool

(/=) :: TeamsCreate -> TeamsCreate -> Bool

Read TeamsCreate Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS TeamsCreate

readList :: ReadS [TeamsCreate]

readPrec :: ReadPrec TeamsCreate

readListPrec :: ReadPrec [TeamsCreate]

Show TeamsCreate Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> TeamsCreate -> ShowS

show :: TeamsCreate -> String

showList :: [TeamsCreate] -> ShowS

ToJSON TeamsCreate Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: TeamsCreate -> Value

toEncoding :: TeamsCreate -> Encoding

toJSONList :: [TeamsCreate] -> Value

toEncodingList :: [TeamsCreate] -> Encoding

data UsersCreate Source #

Constructors

UsersCreate 
Instances
Eq UsersCreate Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: UsersCreate -> UsersCreate -> Bool

(/=) :: UsersCreate -> UsersCreate -> Bool

Read UsersCreate Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS UsersCreate

readList :: ReadS [UsersCreate]

readPrec :: ReadPrec UsersCreate

readListPrec :: ReadPrec [UsersCreate]

Show UsersCreate Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> UsersCreate -> ShowS

show :: UsersCreate -> String

showList :: [UsersCreate] -> ShowS

ToJSON UsersCreate Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: UsersCreate -> Value

toEncoding :: UsersCreate -> Encoding

toJSONList :: [UsersCreate] -> Value

toEncodingList :: [UsersCreate] -> Encoding

data CommandResponse Source #

Instances
Eq CommandResponse Source # 
Instance details

Defined in Network.Mattermost.Types

Read CommandResponse Source # 
Instance details

Defined in Network.Mattermost.Types

Show CommandResponse Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> CommandResponse -> ShowS

show :: CommandResponse -> String

showList :: [CommandResponse] -> ShowS

FromJSON CommandResponse Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser CommandResponse

parseJSONList :: Value -> Parser [CommandResponse]

newtype CommandId Source #

Constructors

CmdI 

Fields

Instances
Eq CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: CommandId -> CommandId -> Bool

(/=) :: CommandId -> CommandId -> Bool

Ord CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: CommandId -> CommandId -> Ordering

(<) :: CommandId -> CommandId -> Bool

(<=) :: CommandId -> CommandId -> Bool

(>) :: CommandId -> CommandId -> Bool

(>=) :: CommandId -> CommandId -> Bool

max :: CommandId -> CommandId -> CommandId

min :: CommandId -> CommandId -> CommandId

Read CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS CommandId

readList :: ReadS [CommandId]

readPrec :: ReadPrec CommandId

readListPrec :: ReadPrec [CommandId]

Show CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> CommandId -> ShowS

show :: CommandId -> String

showList :: [CommandId] -> ShowS

FromJSON CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser CommandId

parseJSONList :: Value -> Parser [CommandId]

FromJSONKey CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

fromJSONKey :: FromJSONKeyFunction CommandId

fromJSONKeyList :: FromJSONKeyFunction [CommandId]

ToJSON CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: CommandId -> Value

toEncoding :: CommandId -> Encoding

toJSONList :: [CommandId] -> Value

toEncodingList :: [CommandId] -> Encoding

ToJSONKey CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSONKey :: ToJSONKeyFunction CommandId

toJSONKeyList :: ToJSONKeyFunction [CommandId]

PrintfArg CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

formatArg :: CommandId -> FieldFormatter

parseFormat :: CommandId -> ModifierParser

Hashable CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> CommandId -> Int

hash :: CommandId -> Int

IsId CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

HasId Command CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

data Command Source #

Instances
Eq Command Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: Command -> Command -> Bool

(/=) :: Command -> Command -> Bool

Read Command Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS Command

readList :: ReadS [Command]

readPrec :: ReadPrec Command

readListPrec :: ReadPrec [Command]

Show Command Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> Command -> ShowS

show :: Command -> String

showList :: [Command] -> ShowS

FromJSON Command Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser Command

parseJSONList :: Value -> Parser [Command]

ToJSON Command Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: Command -> Value

toEncoding :: Command -> Encoding

toJSONList :: [Command] -> Value

toEncodingList :: [Command] -> Encoding

HasId Command CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

data MinCommand Source #

Instances
Eq MinCommand Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: MinCommand -> MinCommand -> Bool

(/=) :: MinCommand -> MinCommand -> Bool

Read MinCommand Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS MinCommand

readList :: ReadS [MinCommand]

readPrec :: ReadPrec MinCommand

readListPrec :: ReadPrec [MinCommand]

Show MinCommand Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> MinCommand -> ShowS

show :: MinCommand -> String

showList :: [MinCommand] -> ShowS

ToJSON MinCommand Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: MinCommand -> Value

toEncoding :: MinCommand -> Encoding

toJSONList :: [MinCommand] -> Value

toEncodingList :: [MinCommand] -> Encoding

data Posts Source #

Constructors

Posts 

Fields

Instances
Eq Posts Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: Posts -> Posts -> Bool

(/=) :: Posts -> Posts -> Bool

Read Posts Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS Posts

readList :: ReadS [Posts]

readPrec :: ReadPrec Posts

readListPrec :: ReadPrec [Posts]

Show Posts Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> Posts -> ShowS

show :: Posts -> String

showList :: [Posts] -> ShowS

FromJSON Posts Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser Posts

parseJSONList :: Value -> Parser [Posts]

data FileInfo Source #

Instances
Eq FileInfo Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: FileInfo -> FileInfo -> Bool

(/=) :: FileInfo -> FileInfo -> Bool

Read FileInfo Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS FileInfo

readList :: ReadS [FileInfo]

readPrec :: ReadPrec FileInfo

readListPrec :: ReadPrec [FileInfo]

Show FileInfo Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> FileInfo -> ShowS

show :: FileInfo -> String

showList :: [FileInfo] -> ShowS

FromJSON FileInfo Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser FileInfo

parseJSONList :: Value -> Parser [FileInfo]

ToJSON FileInfo Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: FileInfo -> Value

toEncoding :: FileInfo -> Encoding

toJSONList :: [FileInfo] -> Value

toEncodingList :: [FileInfo] -> Encoding

newtype PendingPostId Source #

Constructors

PPI 

Fields

Instances
Eq PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

Ord PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

Read PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS PendingPostId

readList :: ReadS [PendingPostId]

readPrec :: ReadPrec PendingPostId

readListPrec :: ReadPrec [PendingPostId]

Show PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> PendingPostId -> ShowS

show :: PendingPostId -> String

showList :: [PendingPostId] -> ShowS

FromJSON PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser PendingPostId

parseJSONList :: Value -> Parser [PendingPostId]

FromJSONKey PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

fromJSONKey :: FromJSONKeyFunction PendingPostId

fromJSONKeyList :: FromJSONKeyFunction [PendingPostId]

ToJSON PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: PendingPostId -> Value

toEncoding :: PendingPostId -> Encoding

toJSONList :: [PendingPostId] -> Value

toEncodingList :: [PendingPostId] -> Encoding

ToJSONKey PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSONKey :: ToJSONKeyFunction PendingPostId

toJSONKeyList :: ToJSONKeyFunction [PendingPostId]

Hashable PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> PendingPostId -> Int

hash :: PendingPostId -> Int

IsId PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

HasId PendingPost PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

data PendingPost Source #

Instances
Eq PendingPost Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: PendingPost -> PendingPost -> Bool

(/=) :: PendingPost -> PendingPost -> Bool

Read PendingPost Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS PendingPost

readList :: ReadS [PendingPost]

readPrec :: ReadPrec PendingPost

readListPrec :: ReadPrec [PendingPost]

Show PendingPost Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> PendingPost -> ShowS

show :: PendingPost -> String

showList :: [PendingPost] -> ShowS

ToJSON PendingPost Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: PendingPost -> Value

toEncoding :: PendingPost -> Encoding

toJSONList :: [PendingPost] -> Value

toEncodingList :: [PendingPost] -> Encoding

HasId PendingPost PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

data Post Source #

Instances
Eq Post Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: Post -> Post -> Bool

(/=) :: Post -> Post -> Bool

Read Post Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS Post

readList :: ReadS [Post]

readPrec :: ReadPrec Post

readListPrec :: ReadPrec [Post]

Show Post Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> Post -> ShowS

show :: Post -> String

showList :: [Post] -> ShowS

FromJSON Post Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser Post

parseJSONList :: Value -> Parser [Post]

ToJSON Post Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: Post -> Value

toEncoding :: Post -> Encoding

toJSONList :: [Post] -> Value

toEncodingList :: [Post] -> Encoding

HasId Post PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

getId :: Post -> PostId Source #

data PostType Source #

Instances
Eq PostType Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: PostType -> PostType -> Bool

(/=) :: PostType -> PostType -> Bool

Read PostType Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS PostType

readList :: ReadS [PostType]

readPrec :: ReadPrec PostType

readListPrec :: ReadPrec [PostType]

Show PostType Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> PostType -> ShowS

show :: PostType -> String

showList :: [PostType] -> ShowS

FromJSON PostType Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser PostType

parseJSONList :: Value -> Parser [PostType]

ToJSON PostType Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: PostType -> Value

toEncoding :: PostType -> Encoding

toJSONList :: [PostType] -> Value

toEncodingList :: [PostType] -> Encoding

newtype FileId Source #

Constructors

FI 

Fields

Instances
Eq FileId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: FileId -> FileId -> Bool

(/=) :: FileId -> FileId -> Bool

Ord FileId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: FileId -> FileId -> Ordering

(<) :: FileId -> FileId -> Bool

(<=) :: FileId -> FileId -> Bool

(>) :: FileId -> FileId -> Bool

(>=) :: FileId -> FileId -> Bool

max :: FileId -> FileId -> FileId

min :: FileId -> FileId -> FileId

Read FileId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS FileId

readList :: ReadS [FileId]

readPrec :: ReadPrec FileId

readListPrec :: ReadPrec [FileId]

Show FileId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> FileId -> ShowS

show :: FileId -> String

showList :: [FileId] -> ShowS

FromJSON FileId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser FileId

parseJSONList :: Value -> Parser [FileId]

FromJSONKey FileId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

fromJSONKey :: FromJSONKeyFunction FileId

fromJSONKeyList :: FromJSONKeyFunction [FileId]

ToJSON FileId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: FileId -> Value

toEncoding :: FileId -> Encoding

toJSONList :: [FileId] -> Value

toEncodingList :: [FileId] -> Encoding

ToJSONKey FileId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSONKey :: ToJSONKeyFunction FileId

toJSONKeyList :: ToJSONKeyFunction [FileId]

PrintfArg FileId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

formatArg :: FileId -> FieldFormatter

parseFormat :: FileId -> ModifierParser

Hashable FileId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> FileId -> Int

hash :: FileId -> Int

IsId FileId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toId :: FileId -> Id Source #

fromId :: Id -> FileId Source #

newtype PostId Source #

Constructors

PI 

Fields

Instances
Eq PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: PostId -> PostId -> Bool

(/=) :: PostId -> PostId -> Bool

Ord PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: PostId -> PostId -> Ordering

(<) :: PostId -> PostId -> Bool

(<=) :: PostId -> PostId -> Bool

(>) :: PostId -> PostId -> Bool

(>=) :: PostId -> PostId -> Bool

max :: PostId -> PostId -> PostId

min :: PostId -> PostId -> PostId

Read PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS PostId

readList :: ReadS [PostId]

readPrec :: ReadPrec PostId

readListPrec :: ReadPrec [PostId]

Show PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> PostId -> ShowS

show :: PostId -> String

showList :: [PostId] -> ShowS

FromJSON PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser PostId

parseJSONList :: Value -> Parser [PostId]

FromJSONKey PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

fromJSONKey :: FromJSONKeyFunction PostId

fromJSONKeyList :: FromJSONKeyFunction [PostId]

ToJSON PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: PostId -> Value

toEncoding :: PostId -> Encoding

toJSONList :: [PostId] -> Value

toEncodingList :: [PostId] -> Encoding

ToJSONKey PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSONKey :: ToJSONKeyFunction PostId

toJSONKeyList :: ToJSONKeyFunction [PostId]

PrintfArg PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

formatArg :: PostId -> FieldFormatter

parseFormat :: PostId -> ModifierParser

Hashable PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> PostId -> Int

hash :: PostId -> Int

IsId PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toId :: PostId -> Id Source #

fromId :: Id -> PostId Source #

HasId Post PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

getId :: Post -> PostId Source #

data PostProps Source #

Constructors

PostProps 

Fields

Instances
Eq PostProps Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: PostProps -> PostProps -> Bool

(/=) :: PostProps -> PostProps -> Bool

Read PostProps Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS PostProps

readList :: ReadS [PostProps]

readPrec :: ReadPrec PostProps

readListPrec :: ReadPrec [PostProps]

Show PostProps Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> PostProps -> ShowS

show :: PostProps -> String

showList :: [PostProps] -> ShowS

FromJSON PostProps Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser PostProps

parseJSONList :: Value -> Parser [PostProps]

ToJSON PostProps Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: PostProps -> Value

toEncoding :: PostProps -> Encoding

toJSONList :: [PostProps] -> Value

toEncodingList :: [PostProps] -> Encoding

data PostPropAttachment Source #

Constructors

PostPropAttachment 

Fields

Instances
Eq PostPropAttachment Source # 
Instance details

Defined in Network.Mattermost.Types

Read PostPropAttachment Source # 
Instance details

Defined in Network.Mattermost.Types

Show PostPropAttachment Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> PostPropAttachment -> ShowS

show :: PostPropAttachment -> String

showList :: [PostPropAttachment] -> ShowS

FromJSON PostPropAttachment Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser PostPropAttachment

parseJSONList :: Value -> Parser [PostPropAttachment]

ToJSON PostPropAttachment Source # 
Instance details

Defined in Network.Mattermost.Types

data User Source #

Instances
Eq User Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: User -> User -> Bool

(/=) :: User -> User -> Bool

Read User Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS User

readList :: ReadS [User]

readPrec :: ReadPrec User

readListPrec :: ReadPrec [User]

Show User Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> User -> ShowS

show :: User -> String

showList :: [User] -> ShowS

FromJSON User Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser User

parseJSONList :: Value -> Parser [User]

ToJSON User Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: User -> Value

toEncoding :: User -> Encoding

toJSONList :: [User] -> Value

toEncodingList :: [User] -> Encoding

HasId User UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

getId :: User -> UserId Source #

data InitialLoad Source #

Constructors

InitialLoad 
Instances
Eq InitialLoad Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: InitialLoad -> InitialLoad -> Bool

(/=) :: InitialLoad -> InitialLoad -> Bool

Show InitialLoad Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> InitialLoad -> ShowS

show :: InitialLoad -> String

showList :: [InitialLoad] -> ShowS

FromJSON InitialLoad Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser InitialLoad

parseJSONList :: Value -> Parser [InitialLoad]

data UserParam Source #

Constructors

UserById UserId 
UserMe 
Instances
Eq UserParam Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: UserParam -> UserParam -> Bool

(/=) :: UserParam -> UserParam -> Bool

Ord UserParam Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: UserParam -> UserParam -> Ordering

(<) :: UserParam -> UserParam -> Bool

(<=) :: UserParam -> UserParam -> Bool

(>) :: UserParam -> UserParam -> Bool

(>=) :: UserParam -> UserParam -> Bool

max :: UserParam -> UserParam -> UserParam

min :: UserParam -> UserParam -> UserParam

Read UserParam Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS UserParam

readList :: ReadS [UserParam]

readPrec :: ReadPrec UserParam

readListPrec :: ReadPrec [UserParam]

Show UserParam Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> UserParam -> ShowS

show :: UserParam -> String

showList :: [UserParam] -> ShowS

PrintfArg UserParam Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

formatArg :: UserParam -> FieldFormatter

parseFormat :: UserParam -> ModifierParser

newtype UserId Source #

Constructors

UI 

Fields

Instances
Eq UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: UserId -> UserId -> Bool

(/=) :: UserId -> UserId -> Bool

Ord UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: UserId -> UserId -> Ordering

(<) :: UserId -> UserId -> Bool

(<=) :: UserId -> UserId -> Bool

(>) :: UserId -> UserId -> Bool

(>=) :: UserId -> UserId -> Bool

max :: UserId -> UserId -> UserId

min :: UserId -> UserId -> UserId

Read UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS UserId

readList :: ReadS [UserId]

readPrec :: ReadPrec UserId

readListPrec :: ReadPrec [UserId]

Show UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> UserId -> ShowS

show :: UserId -> String

showList :: [UserId] -> ShowS

FromJSON UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser UserId

parseJSONList :: Value -> Parser [UserId]

FromJSONKey UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

fromJSONKey :: FromJSONKeyFunction UserId

fromJSONKeyList :: FromJSONKeyFunction [UserId]

ToJSON UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: UserId -> Value

toEncoding :: UserId -> Encoding

toJSONList :: [UserId] -> Value

toEncodingList :: [UserId] -> Encoding

ToJSONKey UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSONKey :: ToJSONKeyFunction UserId

toJSONKeyList :: ToJSONKeyFunction [UserId]

PrintfArg UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

formatArg :: UserId -> FieldFormatter

parseFormat :: UserId -> ModifierParser

Hashable UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> UserId -> Int

hash :: UserId -> Int

IsId UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toId :: UserId -> Id Source #

fromId :: Id -> UserId Source #

HasId User UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

getId :: User -> UserId Source #

data MinChannel Source #

Constructors

MinChannel 
Instances
Eq MinChannel Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: MinChannel -> MinChannel -> Bool

(/=) :: MinChannel -> MinChannel -> Bool

Read MinChannel Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS MinChannel

readList :: ReadS [MinChannel]

readPrec :: ReadPrec MinChannel

readListPrec :: ReadPrec [MinChannel]

Show MinChannel Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> MinChannel -> ShowS

show :: MinChannel -> String

showList :: [MinChannel] -> ShowS

ToJSON MinChannel Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: MinChannel -> Value

toEncoding :: MinChannel -> Encoding

toJSONList :: [MinChannel] -> Value

toEncodingList :: [MinChannel] -> Encoding

data ChannelWithData Source #

Instances
Eq ChannelWithData Source # 
Instance details

Defined in Network.Mattermost.Types

Read ChannelWithData Source # 
Instance details

Defined in Network.Mattermost.Types

Show ChannelWithData Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> ChannelWithData -> ShowS

show :: ChannelWithData -> String

showList :: [ChannelWithData] -> ShowS

FromJSON ChannelWithData Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser ChannelWithData

parseJSONList :: Value -> Parser [ChannelWithData]

data ChannelData Source #

Instances
Eq ChannelData Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: ChannelData -> ChannelData -> Bool

(/=) :: ChannelData -> ChannelData -> Bool

Read ChannelData Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS ChannelData

readList :: ReadS [ChannelData]

readPrec :: ReadPrec ChannelData

readListPrec :: ReadPrec [ChannelData]

Show ChannelData Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> ChannelData -> ShowS

show :: ChannelData -> String

showList :: [ChannelData] -> ShowS

FromJSON ChannelData Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser ChannelData

parseJSONList :: Value -> Parser [ChannelData]

HasId ChannelData ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

newtype SingleChannel Source #

Constructors

SC Channel 
Instances
Eq SingleChannel Source # 
Instance details

Defined in Network.Mattermost.Types

Ord SingleChannel Source # 
Instance details

Defined in Network.Mattermost.Types

Read SingleChannel Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS SingleChannel

readList :: ReadS [SingleChannel]

readPrec :: ReadPrec SingleChannel

readListPrec :: ReadPrec [SingleChannel]

Show SingleChannel Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> SingleChannel -> ShowS

show :: SingleChannel -> String

showList :: [SingleChannel] -> ShowS

FromJSON SingleChannel Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser SingleChannel

parseJSONList :: Value -> Parser [SingleChannel]

data Channel Source #

Instances
Eq Channel Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: Channel -> Channel -> Bool

(/=) :: Channel -> Channel -> Bool

Ord Channel Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: Channel -> Channel -> Ordering

(<) :: Channel -> Channel -> Bool

(<=) :: Channel -> Channel -> Bool

(>) :: Channel -> Channel -> Bool

(>=) :: Channel -> Channel -> Bool

max :: Channel -> Channel -> Channel

min :: Channel -> Channel -> Channel

Read Channel Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS Channel

readList :: ReadS [Channel]

readPrec :: ReadPrec Channel

readListPrec :: ReadPrec [Channel]

Show Channel Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> Channel -> ShowS

show :: Channel -> String

showList :: [Channel] -> ShowS

FromJSON Channel Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser Channel

parseJSONList :: Value -> Parser [Channel]

HasId Channel ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

newtype ChannelId Source #

Constructors

CI 

Fields

Instances
Eq ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: ChannelId -> ChannelId -> Bool

(/=) :: ChannelId -> ChannelId -> Bool

Ord ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: ChannelId -> ChannelId -> Ordering

(<) :: ChannelId -> ChannelId -> Bool

(<=) :: ChannelId -> ChannelId -> Bool

(>) :: ChannelId -> ChannelId -> Bool

(>=) :: ChannelId -> ChannelId -> Bool

max :: ChannelId -> ChannelId -> ChannelId

min :: ChannelId -> ChannelId -> ChannelId

Read ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS ChannelId

readList :: ReadS [ChannelId]

readPrec :: ReadPrec ChannelId

readListPrec :: ReadPrec [ChannelId]

Show ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> ChannelId -> ShowS

show :: ChannelId -> String

showList :: [ChannelId] -> ShowS

FromJSON ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser ChannelId

parseJSONList :: Value -> Parser [ChannelId]

FromJSONKey ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

fromJSONKey :: FromJSONKeyFunction ChannelId

fromJSONKeyList :: FromJSONKeyFunction [ChannelId]

ToJSON ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: ChannelId -> Value

toEncoding :: ChannelId -> Encoding

toJSONList :: [ChannelId] -> Value

toEncodingList :: [ChannelId] -> Encoding

ToJSONKey ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSONKey :: ToJSONKeyFunction ChannelId

toJSONKeyList :: ToJSONKeyFunction [ChannelId]

PrintfArg ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

formatArg :: ChannelId -> FieldFormatter

parseFormat :: ChannelId -> ModifierParser

Hashable ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> ChannelId -> Int

hash :: ChannelId -> Int

IsId ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

HasId ChannelData ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

HasId Channel ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

newtype BoolString Source #

Constructors

BoolString 

Fields

Instances
FromJSON BoolString Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser BoolString

parseJSONList :: Value -> Parser [BoolString]

ToJSON BoolString Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: BoolString -> Value

toEncoding :: BoolString -> Encoding

toJSONList :: [BoolString] -> Value

toEncodingList :: [BoolString] -> Encoding

data ChannelNotifyProps Source #

Instances
Eq ChannelNotifyProps Source # 
Instance details

Defined in Network.Mattermost.Types

Ord ChannelNotifyProps Source # 
Instance details

Defined in Network.Mattermost.Types

Read ChannelNotifyProps Source # 
Instance details

Defined in Network.Mattermost.Types

Show ChannelNotifyProps Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> ChannelNotifyProps -> ShowS

show :: ChannelNotifyProps -> String

showList :: [ChannelNotifyProps] -> ShowS

FromJSON ChannelNotifyProps Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser ChannelNotifyProps

parseJSONList :: Value -> Parser [ChannelNotifyProps]

ToJSON ChannelNotifyProps Source # 
Instance details

Defined in Network.Mattermost.Types

data UserNotifyProps Source #

Instances
Eq UserNotifyProps Source # 
Instance details

Defined in Network.Mattermost.Types

Ord UserNotifyProps Source # 
Instance details

Defined in Network.Mattermost.Types

Read UserNotifyProps Source # 
Instance details

Defined in Network.Mattermost.Types

Show UserNotifyProps Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> UserNotifyProps -> ShowS

show :: UserNotifyProps -> String

showList :: [UserNotifyProps] -> ShowS

FromJSON UserNotifyProps Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser UserNotifyProps

parseJSONList :: Value -> Parser [UserNotifyProps]

ToJSON UserNotifyProps Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: UserNotifyProps -> Value

toEncoding :: UserNotifyProps -> Encoding

toJSONList :: [UserNotifyProps] -> Value

toEncodingList :: [UserNotifyProps] -> Encoding

data NotifyOption Source #

Instances
Eq NotifyOption Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: NotifyOption -> NotifyOption -> Bool

(/=) :: NotifyOption -> NotifyOption -> Bool

Ord NotifyOption Source # 
Instance details

Defined in Network.Mattermost.Types

Read NotifyOption Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS NotifyOption

readList :: ReadS [NotifyOption]

readPrec :: ReadPrec NotifyOption

readListPrec :: ReadPrec [NotifyOption]

Show NotifyOption Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> NotifyOption -> ShowS

show :: NotifyOption -> String

showList :: [NotifyOption] -> ShowS

FromJSON NotifyOption Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser NotifyOption

parseJSONList :: Value -> Parser [NotifyOption]

ToJSON NotifyOption Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: NotifyOption -> Value

toEncoding :: NotifyOption -> Encoding

toJSONList :: [NotifyOption] -> Value

toEncodingList :: [NotifyOption] -> Encoding

data WithDefault a Source #

Constructors

IsValue a 
Default 
Instances
Functor WithDefault Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

fmap :: (a -> b) -> WithDefault a -> WithDefault b

(<$) :: a -> WithDefault b -> WithDefault a

Eq a => Eq (WithDefault a) Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: WithDefault a -> WithDefault a -> Bool

(/=) :: WithDefault a -> WithDefault a -> Bool

Ord a => Ord (WithDefault a) Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: WithDefault a -> WithDefault a -> Ordering

(<) :: WithDefault a -> WithDefault a -> Bool

(<=) :: WithDefault a -> WithDefault a -> Bool

(>) :: WithDefault a -> WithDefault a -> Bool

(>=) :: WithDefault a -> WithDefault a -> Bool

max :: WithDefault a -> WithDefault a -> WithDefault a

min :: WithDefault a -> WithDefault a -> WithDefault a

Read a => Read (WithDefault a) Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS (WithDefault a)

readList :: ReadS [WithDefault a]

readPrec :: ReadPrec (WithDefault a)

readListPrec :: ReadPrec [WithDefault a]

Show a => Show (WithDefault a) Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> WithDefault a -> ShowS

show :: WithDefault a -> String

showList :: [WithDefault a] -> ShowS

FromJSON t => FromJSON (WithDefault t) Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser (WithDefault t)

parseJSONList :: Value -> Parser [WithDefault t]

ToJSON t => ToJSON (WithDefault t) Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: WithDefault t -> Value

toEncoding :: WithDefault t -> Encoding

toJSONList :: [WithDefault t] -> Value

toEncodingList :: [WithDefault t] -> Encoding

data TeamMember Source #

Instances
Eq TeamMember Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: TeamMember -> TeamMember -> Bool

(/=) :: TeamMember -> TeamMember -> Bool

Ord TeamMember Source # 
Instance details

Defined in Network.Mattermost.Types

Read TeamMember Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS TeamMember

readList :: ReadS [TeamMember]

readPrec :: ReadPrec TeamMember

readListPrec :: ReadPrec [TeamMember]

Show TeamMember Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> TeamMember -> ShowS

show :: TeamMember -> String

showList :: [TeamMember] -> ShowS

FromJSON TeamMember Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser TeamMember

parseJSONList :: Value -> Parser [TeamMember]

ToJSON TeamMember Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: TeamMember -> Value

toEncoding :: TeamMember -> Encoding

toJSONList :: [TeamMember] -> Value

toEncodingList :: [TeamMember] -> Encoding

data Team Source #

Instances
Eq Team Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: Team -> Team -> Bool

(/=) :: Team -> Team -> Bool

Ord Team Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: Team -> Team -> Ordering

(<) :: Team -> Team -> Bool

(<=) :: Team -> Team -> Bool

(>) :: Team -> Team -> Bool

(>=) :: Team -> Team -> Bool

max :: Team -> Team -> Team

min :: Team -> Team -> Team

Read Team Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS Team

readList :: ReadS [Team]

readPrec :: ReadPrec Team

readListPrec :: ReadPrec [Team]

Show Team Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> Team -> ShowS

show :: Team -> String

showList :: [Team] -> ShowS

FromJSON Team Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser Team

parseJSONList :: Value -> Parser [Team]

ToJSON Team Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: Team -> Value

toEncoding :: Team -> Encoding

toJSONList :: [Team] -> Value

toEncodingList :: [Team] -> Encoding

HasId Team TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

getId :: Team -> TeamId Source #

newtype TeamId Source #

Constructors

TI 

Fields

Instances
Eq TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: TeamId -> TeamId -> Bool

(/=) :: TeamId -> TeamId -> Bool

Ord TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: TeamId -> TeamId -> Ordering

(<) :: TeamId -> TeamId -> Bool

(<=) :: TeamId -> TeamId -> Bool

(>) :: TeamId -> TeamId -> Bool

(>=) :: TeamId -> TeamId -> Bool

max :: TeamId -> TeamId -> TeamId

min :: TeamId -> TeamId -> TeamId

Read TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS TeamId

readList :: ReadS [TeamId]

readPrec :: ReadPrec TeamId

readListPrec :: ReadPrec [TeamId]

Show TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> TeamId -> ShowS

show :: TeamId -> String

showList :: [TeamId] -> ShowS

FromJSON TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser TeamId

parseJSONList :: Value -> Parser [TeamId]

FromJSONKey TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

fromJSONKey :: FromJSONKeyFunction TeamId

fromJSONKeyList :: FromJSONKeyFunction [TeamId]

ToJSON TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: TeamId -> Value

toEncoding :: TeamId -> Encoding

toJSONList :: [TeamId] -> Value

toEncodingList :: [TeamId] -> Encoding

ToJSONKey TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSONKey :: ToJSONKeyFunction TeamId

toJSONKeyList :: ToJSONKeyFunction [TeamId]

PrintfArg TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

formatArg :: TeamId -> FieldFormatter

parseFormat :: TeamId -> ModifierParser

Hashable TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> TeamId -> Int

hash :: TeamId -> Int

IsId TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toId :: TeamId -> Id Source #

fromId :: Id -> TeamId Source #

HasId Team TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

getId :: Team -> TeamId Source #

newtype Id Source #

Constructors

Id 

Fields

Instances
Eq Id Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: Id -> Id -> Bool

(/=) :: Id -> Id -> Bool

Ord Id Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: Id -> Id -> Ordering

(<) :: Id -> Id -> Bool

(<=) :: Id -> Id -> Bool

(>) :: Id -> Id -> Bool

(>=) :: Id -> Id -> Bool

max :: Id -> Id -> Id

min :: Id -> Id -> Id

Read Id Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS Id

readList :: ReadS [Id]

readPrec :: ReadPrec Id

readListPrec :: ReadPrec [Id]

Show Id Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> Id -> ShowS

show :: Id -> String

showList :: [Id] -> ShowS

FromJSON Id Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser Id

parseJSONList :: Value -> Parser [Id]

FromJSONKey Id Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

fromJSONKey :: FromJSONKeyFunction Id

fromJSONKeyList :: FromJSONKeyFunction [Id]

ToJSON Id Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: Id -> Value

toEncoding :: Id -> Encoding

toJSONList :: [Id] -> Value

toEncodingList :: [Id] -> Encoding

ToJSONKey Id Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSONKey :: ToJSONKeyFunction Id

toJSONKeyList :: ToJSONKeyFunction [Id]

Hashable Id Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> Id -> Int

hash :: Id -> Int

IsId Id Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toId :: Id -> Id Source #

fromId :: Id -> Id Source #

HasId Id Id Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

getId :: Id -> Id Source #

class HasId x y | x -> y where Source #

Methods

getId :: x -> y Source #

Instances
HasId Command CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

HasId PendingPost PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

HasId Post PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

getId :: Post -> PostId Source #

HasId User UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

getId :: User -> UserId Source #

HasId ChannelData ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

HasId Channel ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

HasId Team TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

getId :: Team -> TeamId Source #

HasId Id Id Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

getId :: Id -> Id Source #

class IsId x where Source #

Methods

toId :: x -> Id Source #

fromId :: Id -> x Source #

Instances
IsId ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

IsId EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

IsId JobId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toId :: JobId -> Id Source #

fromId :: Id -> JobId Source #

IsId AppId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toId :: AppId -> Id Source #

fromId :: Id -> AppId Source #

IsId TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

IsId InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

IsId HookId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toId :: HookId -> Id Source #

fromId :: Id -> HookId Source #

IsId CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

IsId PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

IsId FileId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toId :: FileId -> Id Source #

fromId :: Id -> FileId Source #

IsId PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toId :: PostId -> Id Source #

fromId :: Id -> PostId Source #

IsId UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toId :: UserId -> Id Source #

fromId :: Id -> UserId Source #

IsId ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

IsId TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toId :: TeamId -> Id Source #

fromId :: Id -> TeamId Source #

IsId Id Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toId :: Id -> Id Source #

fromId :: Id -> Id Source #

data Type Source #

Constructors

Ordinary 
Direct 
Private 
Group 
Unknown Text 
Instances
Eq Type Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: Type -> Type -> Bool

(/=) :: Type -> Type -> Bool

Ord Type Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: Type -> Type -> Ordering

(<) :: Type -> Type -> Bool

(<=) :: Type -> Type -> Bool

(>) :: Type -> Type -> Bool

(>=) :: Type -> Type -> Bool

max :: Type -> Type -> Type

min :: Type -> Type -> Type

Read Type Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS Type

readList :: ReadS [Type]

readPrec :: ReadPrec Type

readListPrec :: ReadPrec [Type]

Show Type Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> Type -> ShowS

show :: Type -> String

showList :: [Type] -> ShowS

FromJSON Type Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser Type

parseJSONList :: Value -> Parser [Type]

ToJSON Type Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: Type -> Value

toEncoding :: Type -> Encoding

toJSONList :: [Type] -> Value

toEncodingList :: [Type] -> Encoding

data SearchPosts Source #

Constructors

SearchPosts 

Fields

Instances
ToJSON SearchPosts Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: SearchPosts -> Value

toEncoding :: SearchPosts -> Encoding

toJSONList :: [SearchPosts] -> Value

toEncodingList :: [SearchPosts] -> Encoding

data Login Source #

Constructors

Login 

Fields

Instances
ToJSON Login Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: Login -> Value

toEncoding :: Login -> Encoding

toJSONList :: [Login] -> Value

toEncodingList :: [Login] -> Encoding

data Session Source #

Constructors

Session 

data ConnectionPoolConfig Source #

Constructors

ConnectionPoolConfig 

Fields

newtype UserText Source #

Constructors

UserText Text 
Instances
Eq UserText Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

(==) :: UserText -> UserText -> Bool

(/=) :: UserText -> UserText -> Bool

Ord UserText Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

compare :: UserText -> UserText -> Ordering

(<) :: UserText -> UserText -> Bool

(<=) :: UserText -> UserText -> Bool

(>) :: UserText -> UserText -> Bool

(>=) :: UserText -> UserText -> Bool

max :: UserText -> UserText -> UserText

min :: UserText -> UserText -> UserText

Read UserText Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

readsPrec :: Int -> ReadS UserText

readList :: ReadS [UserText]

readPrec :: ReadPrec UserText

readListPrec :: ReadPrec [UserText]

Show UserText Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> UserText -> ShowS

show :: UserText -> String

showList :: [UserText] -> ShowS

FromJSON UserText Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

parseJSON :: Value -> Parser UserText

parseJSONList :: Value -> Parser [UserText]

ToJSON UserText Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

toJSON :: UserText -> Value

toEncoding :: UserText -> Encoding

toJSONList :: [UserText] -> Value

toEncodingList :: [UserText] -> Encoding

runLogger :: ConnectionData -> String -> LogEventType -> IO () Source #

runLoggerS :: Session -> String -> LogEventType -> IO () Source #

maybeFail :: Parser a -> Parser (Maybe a) Source #

mkConnectionData :: Hostname -> Port -> Text -> Pool MMConn -> ConnectionType -> ConnectionContext -> ConnectionData Source #

Creates a structure representing a connection to the server.

createPool :: Hostname -> Port -> ConnectionContext -> ConnectionPoolConfig -> ConnectionType -> IO (Pool MMConn) Source #

idString :: IsId x => x -> Text Source #

data ConnectionType Source #

Constructors

ConnectHTTPS Bool

Boolean is whether to require trusted certificate

ConnectHTTP

Make an insecure connection over HTTP

Instances
Eq ConnectionType Source # 
Instance details

Defined in Network.Mattermost.Types.Internal

Read ConnectionType Source # 
Instance details

Defined in Network.Mattermost.Types.Internal

Methods

readsPrec :: Int -> ReadS ConnectionType

readList :: ReadS [ConnectionType]

readPrec :: ReadPrec ConnectionType

readListPrec :: ReadPrec [ConnectionType]

Show ConnectionType Source # 
Instance details

Defined in Network.Mattermost.Types.Internal

Methods

showsPrec :: Int -> ConnectionType -> ShowS

show :: ConnectionType -> String

showList :: [ConnectionType] -> ShowS