org.fiware.ngsi.model.GeometryVO Maven / Gradle / Ivy
package org.fiware.ngsi.model;
@jakarta.annotation.Generated("org.openapitools.codegen.languages.MicronautCodegen")
@com.fasterxml.jackson.annotation.JsonTypeInfo(use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.EXISTING_PROPERTY, property = GeometryVO.JSON_DISCRIMINATOR)
@com.fasterxml.jackson.annotation.JsonSubTypes({
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(value = LineStringVO.class, name = "LineString"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(value = MultiLineStringVO.class, name = "MultiLineString"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(value = MultiPointVO.class, name = "MultiPoint"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(value = MultiPolygonVO.class, name = "MultiPolygon"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(value = PointVO.class, name = "Point"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(value = PolygonVO.class, name = "Polygon"),
})
public interface GeometryVO {
String JSON_DISCRIMINATOR = "type";
@com.fasterxml.jackson.annotation.JsonProperty(JSON_DISCRIMINATOR)
GeometryTypeVO getType();
}