org.heigit.ohsome.ohsomeapi.output.metadataresponse.ExtractRegion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ohsome-api Show documentation
Show all versions of ohsome-api Show documentation
A public Web-RESTful-API for "ohsome" OpenStreetMap history data.
package org.heigit.ohsome.ohsomeapi.output.metadataresponse;
import com.fasterxml.jackson.databind.JsonNode;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* Represents the result JSON object containing the spatial extent as GeoJSON, the
* {@link org.heigit.ohsome.ohsomeapi.output.metadataresponse.TemporalExtent TemporalExtent} and the
* replication sequence number of the data-extract.
*/
@Getter
@AllArgsConstructor
public class ExtractRegion {
@ApiModelProperty(notes = "Spatial extent of this extract-region", required = true, position = 1)
private JsonNode spatialExtent;
@ApiModelProperty(notes = "Temporal extent of this extract-region", position = 2)
private TemporalExtent temporalExtent;
@ApiModelProperty(notes = "Replication sequence number", position = 3)
private int replicationSequenceNumber;
}