dnet-applications/libs/dnet-exporter-model/src/main/java/eu/dnetlib/openaire/exporter/model/dsm/Response.java

27 lines
525 B
Java
Raw Normal View History

package eu.dnetlib.openaire.exporter.model.dsm;
2022-02-04 10:12:15 +01:00
import com.fasterxml.jackson.annotation.JsonAutoDetect;
2022-08-19 15:21:40 +02:00
import io.swagger.v3.oas.annotations.media.Schema;
2022-02-04 10:12:15 +01:00
@JsonAutoDetect
2022-08-19 15:21:40 +02:00
@Schema(name = "Api response model", description = "Api response model, provides a response header")
2022-02-04 10:12:15 +01:00
public class Response {
private Header header;
public Response() {
this.header = new Header();
}
public Header getHeader() {
return header;
}
public Response setHeader(final Header header) {
this.header = header;
return this;
}
}