package org.fakekoji.jobmanager;

import org.fakekoji.jobmanager.model.JobUpdateResults;

import java.util.Objects;

public class ManagementResult {

    public final Object config;
    public final JobUpdateResults jobUpdateResults;

    public ManagementResult(Object config, JobUpdateResults jobUpdateResults) {
        this.config = config;
        this.jobUpdateResults = jobUpdateResults;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof ManagementResult)) return false;
        ManagementResult that = (ManagementResult) o;
        return Objects.equals(config, that.config) &&
                Objects.equals(jobUpdateResults, that.jobUpdateResults);
    }

    @Override
    public int hashCode() {
        return Objects.hash(config, jobUpdateResults);
    }

    @Override
    public String toString() {
        return "ManagementResult{" +
                "config=" + config +
                ", jobupdateResults=" + jobUpdateResults +
                '}';
    }
}

@@ -139,16 +139,20 @@
 ntResult
+ %3CC%3E
  %7B%0A%0A    
@@ -164,22 +164,17 @@
 c final 
-Object
+C
  config;
@@ -255,22 +255,17 @@
 tResult(
-Object
+C
  config,

Add generic Config type in Management Result