class JobQueueBatch implements Serializable {

    public void setPausedStatus(UUID aggregatorID) {
        if (this.status != JobStatus.RUNNING) {
            throw new JobQueueFailure(jobID, batchID, String.format("Cannot pause batch. JobStatus: %s", this.status));
        }
        this.verifyAggregatorID(aggregatorID);
        this.status = JobStatus.QUEUED;
        this.aggregatorID = null;

        this.setUpdateTime();
    }

    public  JobQueueBatch();
    public  JobQueueBatch(UUID jobID,
                         UUID orgID,
                         String providerID,
                         List<String> patients,
                         List<ResourceType> resourceTypes,
                         OffsetDateTime since,
                         OffsetDateTime transactionTime);

}