Skip to content

Commit c6216c5

Browse files
committed
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.
1 parent 431a82f commit c6216c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/gitlab4j/api/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ public String toString() {
463463
/** Enum to use for specifying the event action_type. */
464464
public enum ActionType {
465465

466-
CREATED, UPDATED, CLOSED, REOPENED, PUSHED, COMMENTED, MERGED, JOINED, LEFT, DESTROYED, EXPIRED, REMOVED;
466+
CREATED, UPDATED, OPENED, CLOSED, REOPENED, PUSHED, COMMENTED, MERGED, JOINED, LEFT, DESTROYED, EXPIRED, REMOVED, DELETED, APPROVED, ACCEPTED;
467467

468468
private static JacksonJsonEnumHelper<ActionType> enumHelper = new JacksonJsonEnumHelper<>(ActionType.class);
469469

0 commit comments

Comments
 (0)