diff options
Diffstat (limited to 'gitlab/v4/objects/event.py')
| -rw-r--r-- | gitlab/v4/objects/event.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gitlab/v4/objects/event.py b/gitlab/v4/objects/event.py new file mode 100644 index 0000000..add2581 --- /dev/null +++ b/gitlab/v4/objects/event.py @@ -0,0 +1,16 @@ +from gitlab.base import * # noqa +from gitlab.exceptions import * # noqa +from gitlab.mixins import * # noqa +from gitlab import types +from gitlab import utils + + +class Event(RESTObject): + _id_attr = None + _short_print_attr = "target_title" + + +class EventManager(ListMixin, RESTManager): + _path = "/events" + _obj_cls = Event + _list_filters = ("action", "target_type", "before", "after", "sort") |
