code: public Pager<Group> getGroups(GroupFilter filter, int itemsPerPage) throws GitLabApiException {
          GitLabApiForm formData = filter.getQueryParams();
          return (new Pager<Group>(this, Group.class, itemsPerPage, formData.asMap(), "groups"));
      }
docs: Get a Pager of visible groups for the authenticated user using the provided filter.
  
  <pre><code>GitLab Endpoint: GET /groups</code></pre>
  
  @param filter the GroupFilter to match against
  @param itemsPerPage the number of Group instances that will be fetched per page
  @return a Pager containing matching Group instances
  @throws GitLabApiException if any exception occurs