code: public Optional<Job> getOptionalJob(Object projectIdOrPath, int jobId) {
          try {
              return (Optional.ofNullable(getJob(projectIdOrPath, jobId)));
          } catch (GitLabApiException glae) {
              return (GitLabApi.createOptionalFromException(glae));
          }
      }
docs: Get single job in a project as an Optional instance.
  
  <pre><code>GitLab Endpoint: GET /projects/:id/jobs/:job_id</code></pre>
  
  @param projectIdOrPath id, path of the project, or a Project instance holding the project ID or path to get the job for
  @param jobId the job ID to get
  @return a single job for the specified project ID as an Optional intance