code: public Stream<Event> getAuthenticatedUserEventsStream(ActionType action, TargetType targetType,
              Date before, Date after, SortOrder sortOrder) throws GitLabApiException {
          return (getAuthenticatedUserEvents(action, targetType, before, after, sortOrder, getDefaultPerPage()).stream());
      }
docs: Get a Stream of events for the authenticated user.
  
  <pre><code>GitLab Endpoint: GET /events</code></pre>
  
  @param action include only events of a particular action type, optional
  @param targetType include only events of a particular target type, optional
  @param before include only events created before a particular date, optional
  @param after include only events created after a particular date, optional
  @param sortOrder sort events in ASC or DESC order by created_at. Default is DESC, optional
  @return a Stream of events for the authenticated user and matching the supplied parameters
  @throws GitLabApiException if any exception occurs