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

org.heigit.ohsome.ohsomeapi.output.groupby.GroupByResult Maven / Gradle / Ivy

The newest version!
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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy