All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.heigit.ohsome.ohsomeapi.output.ratio.RatioGroupByResult Maven / Gradle / Ivy

There is a newer version: 1.10.4
Show newest version
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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy