|
|
@@ -18,20 +18,24 @@ public class CockpitMapDisplayResponse {
|
|
|
private final boolean readOnly;
|
|
|
private final boolean partial;
|
|
|
private final String snapshotAt;
|
|
|
+ private final String statusVersion;
|
|
|
+ private final String statusSource;
|
|
|
private final int zoomBand;
|
|
|
private final String bbox;
|
|
|
private final int cellMeters;
|
|
|
private final Filters filters;
|
|
|
private final List<ClassBuckets> classes;
|
|
|
|
|
|
- public CockpitMapDisplayResponse(String requestId, String snapshotAt, int zoomBand, String bbox,
|
|
|
- int cellMeters, boolean partial, Filters filters, List<ClassBuckets> classes) {
|
|
|
+ public CockpitMapDisplayResponse(String requestId, String snapshotAt, String statusVersion, int zoomBand,
|
|
|
+ String bbox, int cellMeters, boolean partial, Filters filters, List<ClassBuckets> classes) {
|
|
|
this.requestId = requestId;
|
|
|
this.apiVersion = "v1";
|
|
|
this.contract = CONTRACT;
|
|
|
this.readOnly = true;
|
|
|
this.partial = partial;
|
|
|
this.snapshotAt = snapshotAt;
|
|
|
+ this.statusVersion = statusVersion;
|
|
|
+ this.statusSource = "SNAPSHOT";
|
|
|
this.zoomBand = zoomBand;
|
|
|
this.bbox = bbox;
|
|
|
this.cellMeters = cellMeters;
|
|
|
@@ -45,6 +49,8 @@ public class CockpitMapDisplayResponse {
|
|
|
public boolean isReadOnly() { return readOnly; }
|
|
|
public boolean isPartial() { return partial; }
|
|
|
public String getSnapshotAt() { return snapshotAt; }
|
|
|
+ public String getStatusVersion() { return statusVersion; }
|
|
|
+ public String getStatusSource() { return statusSource; }
|
|
|
public int getZoomBand() { return zoomBand; }
|
|
|
public String getBbox() { return bbox; }
|
|
|
public int getCellMeters() { return cellMeters; }
|