code: public List<Job> getJobs(Object projectIdOrPath, int page, int perPage) throws GitLabApiException {
          Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "projects", getProjectIdOrPath(projectIdOrPath), "jobs");
          return (response.readEntity(new GenericType<List<Job>>() {}));
      }
docs: Get a list of jobs in a project in the specified page range.
  
  <pre><code>GitLab Endpoint: GET /projects/:id/jobs</code></pre>
  
  @param projectIdOrPath id, path of the project, or a Project instance holding the project ID or path to get the jobs for
  @param page the page to get
  @param perPage the number of Job instances per page
  @return a list containing the jobs for the specified project ID in the specified page range
  @throws GitLabApiException if any exception occurs during execution