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

org.heigit.ohsome.ohsomeapi.output.dataaggregationresponse.Attribution Maven / Gradle / Ivy

There is a newer version: 1.10.4
Show newest version
package org.heigit.ohsome.ohsomeapi.output.dataaggregationresponse;

import io.swagger.annotations.ApiModelProperty;

/**
 * Represents the attribution information contained in every json response. It holds a link to the
 * copyright and license information and a short copyright text.
 */
public class Attribution {
  @ApiModelProperty(notes = "URL to the copyright and license info", required = true)
  private String url;
  @ApiModelProperty(notes = "Copyright info about the used data", required = true)
  private String text;

  @java.lang.SuppressWarnings("all")
  public String getUrl() {
    return this.url;
  }

  @java.lang.SuppressWarnings("all")
  public String getText() {
    return this.text;
  }

  @java.lang.SuppressWarnings("all")
  public Attribution(final String url, final String text) {
    this.url = url;
    this.text = text;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy