public List<GitlabEvent> getProjectEvents(Serializable projectId,
                                              GitlabEvent.ActionType action,
                                              GitlabEvent.TargetType targetType,
                                              GitlabDate before,
                                              GitlabDate after,
                                              SortOrder sort)
        throws IOException {
        return getProjectEvents(projectId, action, targetType, before,
                                after, sort, new Pagination());
    }
public List < GitlabEvent > getProjectEvents ( Serializable projectId , GitlabEvent . ActionType action , GitlabEvent . TargetType targetType , GitlabDate before , GitlabDate after , SortOrder sort ) throws IOException { return getProjectEvents ( projectId , action , targetType , before , after , sort , new Pagination ( ) ) ; }
Get events for a project.

@param action If not null, include only events of a particular action type
@param targetType If not null, include only events of a particular target type
@param before If not null, include only events created before a particular date.
@param after If not null, include only events created before a
particular date.
@param sort If null, uses the server's default, which is "desc"