code: public PagedList<CloudJob> listJobs(DetailLevel detailLevel, Iterable<BatchClientBehavior> additionalBehaviors) throws BatchErrorException, IOException {
          JobListOptions jobListOptions = new JobListOptions();
  
          BehaviorManager bhMgr = new BehaviorManager(this.customBehaviors(), additionalBehaviors);
          bhMgr.appendDetailLevelToPerCallBehaviors(detailLevel);
          bhMgr.applyRequestBehaviors(jobListOptions);
  
          return this.parentBatchClient.protocolLayer().jobs().list(jobListOptions);
      }
docs: Lists the {@link CloudJob jobs} in the Batch account.
  
  @param detailLevel A {@link DetailLevel} used for filtering the list and for controlling which properties are retrieved from the service.
  @param additionalBehaviors A collection of {@link BatchClientBehavior} instances that are applied to the Batch service request.
  @return A list of {@link CloudJob} objects.
  @throws BatchErrorException Exception thrown when an error response is received from the Batch service.
  @throws IOException Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.