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