public List<Milestone> getMilestones(Object projectIdOrPath) throws GitLabApiException {
        return (getMilestones(projectIdOrPath, getDefaultPerPage()).all());
    }
public List < Milestone > getMilestones ( Object projectIdOrPath ) throws GitLabApiException { return ( getMilestones ( projectIdOrPath , getDefaultPerPage ( ) ) . all ( ) ) ; }
Get a list of project milestones.

@param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
@return the milestones associated with the specified project
@throws GitLabApiException if any exception occurs