From c6216c5ad02e2432092a1bf68c82ba8a2260dfae Mon Sep 17 00:00:00 2001 From: mness Date: Wed, 15 Sep 2021 17:07:25 -0500 Subject: [PATCH] Add new ActionTypes for Events New `action_type` values were recently added in the Events API: `approved`, `accepted`, `opened`, `deleted`. This change adds the new types to the ActionType enum. --- src/main/java/org/gitlab4j/api/Constants.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gitlab4j/api/Constants.java b/src/main/java/org/gitlab4j/api/Constants.java index 7a1c7ea4..c2c6d84f 100644 --- a/src/main/java/org/gitlab4j/api/Constants.java +++ b/src/main/java/org/gitlab4j/api/Constants.java @@ -463,7 +463,7 @@ public interface Constants { /** Enum to use for specifying the event action_type. */ public enum ActionType { - CREATED, UPDATED, CLOSED, REOPENED, PUSHED, COMMENTED, MERGED, JOINED, LEFT, DESTROYED, EXPIRED, REMOVED; + CREATED, UPDATED, OPENED, CLOSED, REOPENED, PUSHED, COMMENTED, MERGED, JOINED, LEFT, DESTROYED, EXPIRED, REMOVED, DELETED, APPROVED, ACCEPTED; private static JacksonJsonEnumHelper enumHelper = new JacksonJsonEnumHelper<>(ActionType.class); -- GitLab