summaryrefslogtreecommitdiff
path: root/gitlab/const.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2016-10-23 21:46:28 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2016-10-23 21:46:28 +0200
commitb15f17b6d2008ee658cf9206aa37faaf966a521b (patch)
tree0ea09ee088d28770c7bc6d0e34382ca1cb142a9f /gitlab/const.py
parent6d3450c4fe4a2e592b9000be309819278f519e11 (diff)
downloadgitlab-b15f17b6d2008ee658cf9206aa37faaf966a521b.tar.gz
Add support for the notification settings API
Diffstat (limited to 'gitlab/const.py')
-rw-r--r--gitlab/const.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/gitlab/const.py b/gitlab/const.py
index 7930c0b..99a1745 100644
--- a/gitlab/const.py
+++ b/gitlab/const.py
@@ -24,3 +24,10 @@ OWNER_ACCESS = 50
VISIBILITY_PRIVATE = 0
VISIBILITY_INTERNAL = 10
VISIBILITY_PUBLIC = 20
+
+NOTIFICATION_LEVEL_DISABLED = 'disabled'
+NOTIFICATION_LEVEL_PARTICIPATING = 'participating'
+NOTIFICATION_LEVEL_WATCH = 'watch'
+NOTIFICATION_LEVEL_GLOBAL = 'global'
+NOTIFICATION_LEVEL_MENTION = 'mention'
+NOTIFICATION_LEVEL_CUSTOM = 'custom'