gitlab-haskell-0.3.0: A Haskell library for the GitLab web API
Copyright(c) Rob Stewart Heriot-Watt University 2020
LicenseBSD3
Maintainerrobstewart57@gmail.com
Stabilitystable
Safe HaskellNone
LanguageHaskell2010

GitLab.SystemHooks.Types

Description

 
Synopsis

Documentation

data Rule where Source #

Pattern matching rules on GitLab hook events.

Constructors

Match :: (Typeable a, SystemHook a) => String -> (a -> GitLab ()) -> Rule 
MatchIf :: (Typeable a, SystemHook a) => String -> (a -> GitLab Bool) -> (a -> GitLab ()) -> Rule 

class FromJSON a => SystemHook a where Source #

A typeclass for GitLab hook events.

Methods

match :: String -> (a -> GitLab ()) -> Rule Source #

matchIf :: String -> (a -> GitLab Bool) -> (a -> GitLab ()) -> Rule Source #

Instances

Instances details
SystemHook MergeRequestEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook RepositoryUpdate Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook TagPush Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Methods

match :: String -> (TagPush -> GitLab ()) -> Rule Source #

matchIf :: String -> (TagPush -> GitLab Bool) -> (TagPush -> GitLab ()) -> Rule Source #

SystemHook Push Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Methods

match :: String -> (Push -> GitLab ()) -> Rule Source #

matchIf :: String -> (Push -> GitLab Bool) -> (Push -> GitLab ()) -> Rule Source #

SystemHook GroupMemberUpdate Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook GroupMemberRemove Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook NewGroupMember Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook GroupRename Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook GroupRemove Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook GroupCreate Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook KeyRemove Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Methods

match :: String -> (KeyRemove -> GitLab ()) -> Rule Source #

matchIf :: String -> (KeyRemove -> GitLab Bool) -> (KeyRemove -> GitLab ()) -> Rule Source #

SystemHook KeyCreate Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Methods

match :: String -> (KeyCreate -> GitLab ()) -> Rule Source #

matchIf :: String -> (KeyCreate -> GitLab Bool) -> (KeyCreate -> GitLab ()) -> Rule Source #

SystemHook UserRename Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook UserFailedLogin Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook UserRemove Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook UserCreate Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook UserRemoveFromTeam Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook UserUpdateForTeam Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook UserAddToTeam Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook ProjectUpdate Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook ProjectTransfer Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook ProjectRename Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook ProjectDestroy Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook ProjectCreate Source # 
Instance details

Defined in GitLab.SystemHooks.Types

data ProjectChanges Source #

A project event.

Instances

Instances details
Eq ProjectChanges Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Show ProjectChanges Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Generic ProjectChanges Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Associated Types

type Rep ProjectChanges :: Type -> Type #

FromJSON ProjectChanges Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep ProjectChanges Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep ProjectChanges = D1 ('MetaData "ProjectChanges" "GitLab.SystemHooks.Types" "gitlab-haskell-0.3.0-3yKX8pAYNmI96JA1H3QcOu" 'False) (C1 ('MetaCons "ProjectChanges" 'PrefixI 'True) (S1 ('MetaSel ('Just "projectChanges_before") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "projectChanges_after") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "projectChanges_ref") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

data UserUpdateForTeam Source #

A user in a team has been updated.

data UserRemoveFromTeam Source #

A user has been removed from a team.

data KeyCreate Source #

A key has been created.

Instances

Instances details
Eq KeyCreate Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Show KeyCreate Source # 
Instance details

Defined in GitLab.SystemHooks.Types

FromJSON KeyCreate Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook KeyCreate Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Methods

match :: String -> (KeyCreate -> GitLab ()) -> Rule Source #

matchIf :: String -> (KeyCreate -> GitLab Bool) -> (KeyCreate -> GitLab ()) -> Rule Source #

data KeyRemove Source #

A key has been removed.

Instances

Instances details
Eq KeyRemove Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Show KeyRemove Source # 
Instance details

Defined in GitLab.SystemHooks.Types

FromJSON KeyRemove Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook KeyRemove Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Methods

match :: String -> (KeyRemove -> GitLab ()) -> Rule Source #

matchIf :: String -> (KeyRemove -> GitLab Bool) -> (KeyRemove -> GitLab ()) -> Rule Source #

data Push Source #

Commits have been pushed to the server.

Instances

Instances details
Eq Push Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Methods

(==) :: Push -> Push -> Bool #

(/=) :: Push -> Push -> Bool #

Show Push Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Methods

showsPrec :: Int -> Push -> ShowS #

show :: Push -> String #

showList :: [Push] -> ShowS #

FromJSON Push Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook Push Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Methods

match :: String -> (Push -> GitLab ()) -> Rule Source #

matchIf :: String -> (Push -> GitLab Bool) -> (Push -> GitLab ()) -> Rule Source #

data ProjectEvent Source #

A project event.

Instances

Instances details
Eq ProjectEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Show ProjectEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Generic ProjectEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Associated Types

type Rep ProjectEvent :: Type -> Type #

FromJSON ProjectEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep ProjectEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep ProjectEvent = D1 ('MetaData "ProjectEvent" "GitLab.SystemHooks.Types" "gitlab-haskell-0.3.0-3yKX8pAYNmI96JA1H3QcOu" 'False) (C1 ('MetaCons "ProjectEvent" 'PrefixI 'True) (((S1 ('MetaSel ('Just "projectEvent_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "projectEvent_description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "projectEvent_web_url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "projectEvent_avatar_url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "projectEvent_git_ssh_url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "projectEvent_git_http_url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "projectEvent_namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "projectEvent_visibility_level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Visibility) :*: (S1 ('MetaSel ('Just "projectEvent_path_with_namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "projectEvent_default_branch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "projectEvent_homepage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "projectEvent_url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "projectEvent_ssh_url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "projectEvent_http_url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

data RepositoryEvent Source #

A repository event.

Instances

Instances details
Eq RepositoryEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Show RepositoryEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Generic RepositoryEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Associated Types

type Rep RepositoryEvent :: Type -> Type #

FromJSON RepositoryEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep RepositoryEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep RepositoryEvent = D1 ('MetaData "RepositoryEvent" "GitLab.SystemHooks.Types" "gitlab-haskell-0.3.0-3yKX8pAYNmI96JA1H3QcOu" 'False) (C1 ('MetaCons "RepositoryEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "repositoryEvent_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "repositoryEvent_url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "repositoryEvent_description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "repositoryEvent_homepage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repositoryEvent_git_http_url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "repositoryEvent_git_ssh_url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repositoryEvent_visibility_level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Visibility))))))

data CommitEvent Source #

A commit event.

Instances

Instances details
Eq CommitEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Show CommitEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Generic CommitEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Associated Types

type Rep CommitEvent :: Type -> Type #

FromJSON CommitEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep CommitEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep CommitEvent = D1 ('MetaData "CommitEvent" "GitLab.SystemHooks.Types" "gitlab-haskell-0.3.0-3yKX8pAYNmI96JA1H3QcOu" 'False) (C1 ('MetaCons "CommitEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "commitEvent_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "commitEvent_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "commitEvent_timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "commitEvent_url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "commitEvent_author") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CommitAuthorEvent)))))

data CommitAuthorEvent Source #

Commit author information.

Instances

Instances details
Eq CommitAuthorEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Show CommitAuthorEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Generic CommitAuthorEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Associated Types

type Rep CommitAuthorEvent :: Type -> Type #

FromJSON CommitAuthorEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep CommitAuthorEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep CommitAuthorEvent = D1 ('MetaData "CommitAuthorEvent" "GitLab.SystemHooks.Types" "gitlab-haskell-0.3.0-3yKX8pAYNmI96JA1H3QcOu" 'False) (C1 ('MetaCons "CommitAuthorEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "commitAuthorEvent_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "commitAuthorEvent_email") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data Visibility Source #

Project visibility.

Constructors

Public 
Private 
Internal 

Instances

Instances details
Eq Visibility Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Show Visibility Source # 
Instance details

Defined in GitLab.SystemHooks.Types

FromJSON Visibility Source # 
Instance details

Defined in GitLab.SystemHooks.Types

data MergeRequestEvent Source #

Merge request (named so, since MergeRequest type already used in GitLab.Types.

Instances

Instances details
Eq MergeRequestEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Show MergeRequestEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Generic MergeRequestEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Associated Types

type Rep MergeRequestEvent :: Type -> Type #

FromJSON MergeRequestEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

SystemHook MergeRequestEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep MergeRequestEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep MergeRequestEvent = D1 ('MetaData "MergeRequestEvent" "GitLab.SystemHooks.Types" "gitlab-haskell-0.3.0-3yKX8pAYNmI96JA1H3QcOu" 'False) (C1 ('MetaCons "MergeRequestEvent" 'PrefixI 'True) (((S1 ('MetaSel ('Just "mergeRequest_object_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "mergeRequest_event_type") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "mergeRequest_user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UserEvent) :*: S1 ('MetaSel ('Just "mergeRequest_project") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProjectEvent))) :*: ((S1 ('MetaSel ('Just "mergeRequest_object_attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ObjectAttributes) :*: S1 ('MetaSel ('Just "mergeRequest_labels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "mergeRequest_changes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MergeRequestChanges) :*: S1 ('MetaSel ('Just "mergeRequest_repository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RepositoryEvent)))))

data MergeRequestChanges Source #

Instances

Instances details
Eq MergeRequestChanges Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Show MergeRequestChanges Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Generic MergeRequestChanges Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Associated Types

type Rep MergeRequestChanges :: Type -> Type #

FromJSON MergeRequestChanges Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep MergeRequestChanges Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep MergeRequestChanges = D1 ('MetaData "MergeRequestChanges" "GitLab.SystemHooks.Types" "gitlab-haskell-0.3.0-3yKX8pAYNmI96JA1H3QcOu" 'False) (C1 ('MetaCons "MergeRequestChanges" 'PrefixI 'True) (((S1 ('MetaSel ('Just "mergeRequestChanges_author_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MergeRequestChange Int)) :*: S1 ('MetaSel ('Just "mergeRequestChanges_created_at") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MergeRequestChange Text))) :*: (S1 ('MetaSel ('Just "mergeRequestChanges_description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MergeRequestChange Text)) :*: (S1 ('MetaSel ('Just "mergeRequestChanges_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MergeRequestChange Int)) :*: S1 ('MetaSel ('Just "mergeRequestChanges_iid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MergeRequestChange Int))))) :*: ((S1 ('MetaSel ('Just "mergeRequestChanges_source_branch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MergeRequestChange Text)) :*: (S1 ('MetaSel ('Just "mergeRequestChanges_source_project_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MergeRequestChange Int)) :*: S1 ('MetaSel ('Just "mergeRequestChanges_target_branch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MergeRequestChange Text)))) :*: (S1 ('MetaSel ('Just "mergeRequestChanges_target_project_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MergeRequestChange Int)) :*: (S1 ('MetaSel ('Just "mergeRequestChanges_title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MergeRequestChange Text)) :*: S1 ('MetaSel ('Just "mergeRequestChanges_updated_at") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MergeRequestChange Text)))))))

data MergeRequestChange a Source #

Instances

Instances details
Eq a => Eq (MergeRequestChange a) Source # 
Instance details

Defined in GitLab.SystemHooks.Types

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

Defined in GitLab.SystemHooks.Types

Generic (MergeRequestChange a) Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Associated Types

type Rep (MergeRequestChange a) :: Type -> Type #

FromJSON a => FromJSON (MergeRequestChange a) Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep (MergeRequestChange a) Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep (MergeRequestChange a) = D1 ('MetaData "MergeRequestChange" "GitLab.SystemHooks.Types" "gitlab-haskell-0.3.0-3yKX8pAYNmI96JA1H3QcOu" 'False) (C1 ('MetaCons "MergeRequestChange" 'PrefixI 'True) (S1 ('MetaSel ('Just "mergeRequestChange_previous") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe a)) :*: S1 ('MetaSel ('Just "mergeRequestChange_current") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe a))))

data ObjectAttributes Source #

Constructors

ObjectAttributes 

Fields

Instances

Instances details
Eq ObjectAttributes Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Show ObjectAttributes Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Generic ObjectAttributes Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Associated Types

type Rep ObjectAttributes :: Type -> Type #

FromJSON ObjectAttributes Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep ObjectAttributes Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep ObjectAttributes = D1 ('MetaData "ObjectAttributes" "GitLab.SystemHooks.Types" "gitlab-haskell-0.3.0-3yKX8pAYNmI96JA1H3QcOu" 'False) (C1 ('MetaCons "ObjectAttributes" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "objectAttributes_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "objectAttributes_target_branch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "objectAttributes_source_branch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "objectAttributes_source_project_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "objectAttributes_author_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) :*: ((S1 ('MetaSel ('Just "objectAttributes_assignee_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "objectAttributes_assignee_ids") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Int]))) :*: (S1 ('MetaSel ('Just "objectAttributes_title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "objectAttributes_created_at") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "objectAttributes_updated_at") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))) :*: (((S1 ('MetaSel ('Just "objectAttributes_milestone_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "objectAttributes_state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "objectAttributes_state_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "objectAttributes_merge_status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "objectAttributes_target_project_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) :*: ((S1 ('MetaSel ('Just "objectAttributes_iid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "objectAttributes_description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "objectAttributes_updated_by_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "objectAttributes_merge_error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "objectAttributes_merge_params") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MergeParams)))))) :*: ((((S1 ('MetaSel ('Just "objectAttributes_merge_when_pipeline_succeeds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "objectAttributes_merge_user_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "objectAttributes_merge_commit_sha") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "objectAttributes_deleted_at") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "objectAttributes_in_progress_merge_commit_sha") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "objectAttributes_lock_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "objectAttributes_time_estimate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "objectAttributes_last_edited_at") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "objectAttributes_last_edited_by_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "objectAttributes_head_pipeline_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))) :*: (((S1 ('MetaSel ('Just "objectAttributes_ref_fetched") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "objectAttributes_merge_jid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "objectAttributes_source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProjectEvent) :*: (S1 ('MetaSel ('Just "objectAttributes_target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProjectEvent) :*: S1 ('MetaSel ('Just "objectAttributes_last_commit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CommitEvent)))) :*: ((S1 ('MetaSel ('Just "objectAttributes_work_in_progress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "objectAttributes_total_time_spent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "objectAttributes_human_total_time_spent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "objectAttributes_human_time_estimate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "objectAttributes_action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))))

data MergeParams Source #

Instances

Instances details
Eq MergeParams Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Show MergeParams Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Generic MergeParams Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Associated Types

type Rep MergeParams :: Type -> Type #

FromJSON MergeParams Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep MergeParams Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep MergeParams = D1 ('MetaData "MergeParams" "GitLab.SystemHooks.Types" "gitlab-haskell-0.3.0-3yKX8pAYNmI96JA1H3QcOu" 'False) (C1 ('MetaCons "MergeParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "mergeParams_force_remove_source_branch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

data UserEvent Source #

Instances

Instances details
Eq UserEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Show UserEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Generic UserEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

Associated Types

type Rep UserEvent :: Type -> Type #

FromJSON UserEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep UserEvent Source # 
Instance details

Defined in GitLab.SystemHooks.Types

type Rep UserEvent = D1 ('MetaData "UserEvent" "GitLab.SystemHooks.Types" "gitlab-haskell-0.3.0-3yKX8pAYNmI96JA1H3QcOu" 'False) (C1 ('MetaCons "UserEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "userEvent_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "userEvent_username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userEvent_avatar_url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

parseEvent :: FromJSON a => String -> Maybe a Source #

Parse JSON data into GitLab events.