code: public List<TreeItem> getTree(Object projectIdOrPath, String filePath, String refName) throws GitLabApiException {
          return (getTree(projectIdOrPath, filePath, refName, false));
      }
docs: Get a list of repository files and directories in a project.
  
  <pre><code>GitLab Endpoint: GET /projects/:id/repository/tree</code></pre>
  
  id (required) - The ID of a project
  path (optional) - The path inside repository. Used to get content of subdirectories
  ref_name (optional) - The name of a repository branch or tag or if not given the default branch
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param filePath the path inside repository, used to get content of subdirectories
  @param refName the name of a repository branch or tag or if not given the default branch
  @return a tree with the directories and files of a project
  @throws GitLabApiException if any exception occurs