code: public List<Job> getJobs(Object projectIdOrPath) throws GitLabApiException {
          return (getJobs(projectIdOrPath, getDefaultPerPage()).all());
      }
docs: Get a list of jobs in a project.
  
  <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
  @return a list containing the jobs for the specified project ID
  @throws GitLabApiException if any exception occurs during execution