package eu.openaire.urls_controller.payloads.requests; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import eu.openaire.urls_controller.models.UrlReport; import java.util.List; @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "workerId", "urlReports" }) 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 this.urlReports; } public void setUrlReports(List urlReports) { this.urlReports = urlReports; } }