package eu.openaire.urls_worker.payloads.responces; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import eu.openaire.urls_worker.models.UrlReport; import java.util.List; @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "workerId", "url" }) public class WorkerReport { @JsonProperty("workerId") private String workerId; @JsonProperty("urlReports") private List urlReports; public WorkerReport(String workerId, List urlReports) { this.workerId = workerId; this.urlReports = urlReports; } public String getWorkerId() { return workerId; } public void setWorkerId(String workerId) { this.workerId = workerId; } public List getUrlReports() { return urlReports; } public void setUrlReports(List urlReports) { this.urlReports = urlReports; } }