io.katharsis.request.dto.DataBody Maven / Gradle / Ivy
package io.katharsis.request.dto;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.katharsis.jackson.deserializer.ResourceRelationshipsDeserializer;
public class DataBody {
private String id;
private String type;
@JsonDeserialize(using = ResourceRelationshipsDeserializer.class)
private ResourceRelationships relationships;
private JsonNode attributes;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public ResourceRelationships getRelationships() {
return relationships;
}
public void setRelationships(ResourceRelationships relationships) {
this.relationships = relationships;
}
public JsonNode getAttributes() {
return attributes;
}
public void setAttributes(JsonNode attributes) {
this.attributes = attributes;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy