org.heigit.ohsome.ohsomeapi.output.groupby.GroupByResult 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.groupby;
import io.swagger.annotations.ApiModelProperty;
import org.heigit.ohsome.ohsomeapi.output.Result;
/**
* Represents the groupBy result JSON object containing the groupBy value and the respective
* {@link org.heigit.ohsome.ohsomeapi.output.Result Result} objects. The GroupByResult is only used
* in responses for groupBy requests.
*/
public class GroupByResult extends GroupByObject {
@ApiModelProperty(notes = "Result array holding timestamp-value pairs", required = true)
private Result[] result;
public GroupByResult(Object groupByName, Result[] result) {
super(groupByName);
this.result = result;
}
@java.lang.SuppressWarnings("all")
public Result[] getResult() {
return this.result;
}
}