docs: public Pager<Event> getUserEvents(Object userIdOrUsername, ActionType action, TargetType targetType, Date before, Date after,
              SortOrder sortOrder, int itemsPerPage) throws GitLabApiException {
  
          GitLabApiForm formData = new GitLabApiForm()
                  .withParam("action", action)
                  .withParam("target_type", targetType != null ? targetType.toValue().toLowerCase() : null)
                  .withParam("before", before)
                  .withParam("after", after)
                  .withParam("sort", sortOrder);
  
          return (new Pager<Event>(this, Event.class, itemsPerPage, formData.asMap(),
                  "users", getUserIdOrUsername(userIdOrUsername), "events"));
      }