code: public Pager<Label> getLabels(Object projectIdOrPath, int itemsPerPage) throws GitLabApiException {
          return (new Pager<Label>(this, Label.class, itemsPerPage, null,
                  "projects", getProjectIdOrPath(projectIdOrPath), "labels"));
      }
docs: Get a Pager of all labels of the specified project.
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param itemsPerPage the number of items per page
  @return a list of project's labels in the specified range
  @throws GitLabApiException if any exception occurs