code: public Pager<Milestone> getMilestones(Object projectIdOrPath, int itemsPerPage) throws GitLabApiException {
          return (new Pager<Milestone>(this, Milestone.class, itemsPerPage, null,
                  "projects", getProjectIdOrPath(projectIdOrPath), "milestones"));
      }
docs: Get a Page of project milestones.
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param itemsPerPage The number of Milestone instances that will be fetched per page
  @return the milestones associated with the specified project
  @throws GitLabApiException if any exception occurs