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

Safe HaskellNone
LanguageHaskell2010

Network.Mattermost.Types

Synopsis

Documentation

data ChannelPatch Source #

Constructors

ChannelPatch 

Fields

data PostUpdate Source #

Constructors

PostUpdate 

Fields

data RawPost Source #

Constructors

RawPost 

Fields

data UserSearch Source #

Constructors

UserSearch 

Fields

newtype ReportId Source #

Constructors

RI 

Fields

Instances
Eq ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

Ord ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

Read ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

Show ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

Hashable ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> ReportId -> Int #

hash :: ReportId -> Int #

ToJSON ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSONKey ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSONKey ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

PrintfArg ReportId Source # 
Instance details

Defined in Network.Mattermost.Types

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

Read EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

Show EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

Hashable EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> EmojiId -> Int #

hash :: EmojiId -> Int #

ToJSON EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSONKey EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSONKey EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

PrintfArg EmojiId Source # 
Instance details

Defined in Network.Mattermost.Types

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

Show JobId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> JobId -> ShowS #

show :: JobId -> String #

showList :: [JobId] -> ShowS #

Hashable JobId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> JobId -> Int #

hash :: JobId -> Int #

ToJSON JobId Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSONKey JobId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON JobId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSONKey JobId Source # 
Instance details

Defined in Network.Mattermost.Types

PrintfArg JobId 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 #

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

Show AppId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> AppId -> ShowS #

show :: AppId -> String #

showList :: [AppId] -> ShowS #

Hashable AppId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> AppId -> Int #

hash :: AppId -> Int #

ToJSON AppId Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSONKey AppId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON AppId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSONKey AppId Source # 
Instance details

Defined in Network.Mattermost.Types

PrintfArg AppId Source # 
Instance details

Defined in Network.Mattermost.Types

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

Read TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

Show TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

Hashable TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> TokenId -> Int #

hash :: TokenId -> Int #

ToJSON TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSONKey TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSONKey TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

PrintfArg TokenId Source # 
Instance details

Defined in Network.Mattermost.Types

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

Ord InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

Read InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

Show InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

Hashable InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> InviteId -> Int #

hash :: InviteId -> Int #

ToJSON InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSONKey InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSONKey InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

PrintfArg InviteId Source # 
Instance details

Defined in Network.Mattermost.Types

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

Read HookId Source # 
Instance details

Defined in Network.Mattermost.Types

Show HookId Source # 
Instance details

Defined in Network.Mattermost.Types

Hashable HookId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> HookId -> Int #

hash :: HookId -> Int #

ToJSON HookId Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSONKey HookId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON HookId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSONKey HookId Source # 
Instance details

Defined in Network.Mattermost.Types

PrintfArg HookId 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 #

data PreferenceCategory Source #

newtype CommandId Source #

Constructors

CmdI 

Fields

Instances
Eq CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

Ord CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

Read CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

Show CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

Hashable CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSON CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSONKey CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSONKey CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

PrintfArg CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

IsId CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

HasId Command CommandId Source # 
Instance details

Defined in Network.Mattermost.Types

data Command Source #

data Posts Source #

Constructors

Posts 
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

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

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

Show PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

Hashable PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSON PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSONKey PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSONKey PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

IsId PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

HasId PendingPost PendingPostId Source # 
Instance details

Defined in Network.Mattermost.Types

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

Read FileId Source # 
Instance details

Defined in Network.Mattermost.Types

Show FileId Source # 
Instance details

Defined in Network.Mattermost.Types

Hashable FileId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> FileId -> Int #

hash :: FileId -> Int #

ToJSON FileId Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSONKey FileId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON FileId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSONKey FileId Source # 
Instance details

Defined in Network.Mattermost.Types

PrintfArg FileId 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 #

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

Read PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Show PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Hashable PostId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> PostId -> Int #

hash :: PostId -> Int #

ToJSON PostId Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSONKey PostId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON PostId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSONKey PostId Source # 
Instance details

Defined in Network.Mattermost.Types

PrintfArg PostId Source # 
Instance details

Defined in Network.Mattermost.Types

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 PostPropAttachment Source #

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

Show User Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

ToJSON User Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON User Source # 
Instance details

Defined in Network.Mattermost.Types

HasId User UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

getId :: User -> UserId Source #

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

Read UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Show UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Hashable UserId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> UserId -> Int #

hash :: UserId -> Int #

ToJSON UserId Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSONKey UserId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON UserId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSONKey UserId Source # 
Instance details

Defined in Network.Mattermost.Types

PrintfArg UserId Source # 
Instance details

Defined in Network.Mattermost.Types

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 Channel Source #

newtype ChannelId Source #

Constructors

CI 

Fields

Instances
Eq ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

Ord ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

Read ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

Show ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

Hashable ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSON ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSONKey ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSONKey ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

PrintfArg ChannelId Source # 
Instance details

Defined in Network.Mattermost.Types

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

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

ToJSON ChannelNotifyProps Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON 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

ToJSON UserNotifyProps Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON UserNotifyProps Source # 
Instance details

Defined in Network.Mattermost.Types

data NotifyOption Source #

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

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

Defined in Network.Mattermost.Types

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

Defined in Network.Mattermost.Types

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

Defined in Network.Mattermost.Types

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

Defined in Network.Mattermost.Types

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

Defined in Network.Mattermost.Types

data TeamMember Source #

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

Show Team Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> Team -> ShowS #

show :: Team -> String #

showList :: [Team] -> ShowS #

ToJSON Team Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON Team Source # 
Instance details

Defined in Network.Mattermost.Types

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

Read TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Show TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Hashable TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> TeamId -> Int #

hash :: TeamId -> Int #

ToJSON TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSONKey TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSONKey TeamId Source # 
Instance details

Defined in Network.Mattermost.Types

PrintfArg TeamId 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 #

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

Show Id Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> Id -> ShowS #

show :: Id -> String #

showList :: [Id] -> ShowS #

Hashable Id Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

hashWithSalt :: Int -> Id -> Int #

hash :: Id -> Int #

ToJSON Id Source # 
Instance details

Defined in Network.Mattermost.Types

ToJSONKey Id Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON Id Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSONKey Id Source # 
Instance details

Defined in Network.Mattermost.Types

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 #

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

Show Type Source # 
Instance details

Defined in Network.Mattermost.Types

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

ToJSON Type Source # 
Instance details

Defined in Network.Mattermost.Types

FromJSON Type Source # 
Instance details

Defined in Network.Mattermost.Types

data Login Source #

Constructors

Login 

Fields

Instances
ToJSON Login Source # 
Instance details

Defined in Network.Mattermost.Types

data Session Source #

Constructors

Session 

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

Creates a structure representing a TLS connection to the server.

mkConnectionDataInsecure :: Hostname -> Port -> Pool MMConn -> ConnectionContext -> ConnectionData Source #

Plaintext HTTP instead of a TLS connection.

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