code: public List<Group> getGroups(GroupFilter filter) throws GitLabApiException {
          return (getGroups(filter, getDefaultPerPage()).all());
      }
docs: Get a list 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
  @return a List&lt;Group&gt; of the matching groups
  @throws GitLabApiException if any exception occurs