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

org.opentripplanner.updater.vehicle_rental.datasources.params.VehicleRentalDataSourceParameters Maven / Gradle / Ivy

There is a newer version: 2.5.0
Show newest version
package org.opentripplanner.updater.vehicle_rental.datasources.params;

import org.opentripplanner.updater.DataSourceType;

import javax.annotation.Nullable;
import javax.validation.constraints.NotNull;
import java.util.Map;

public class VehicleRentalDataSourceParameters {
  private final DataSourceType sourceType;
  private final String url;
  private final Map httpHeaders;

  public VehicleRentalDataSourceParameters(
      DataSourceType sourceType,
      String url,
      @NotNull
      Map httpHeaders
  ) {
    this.sourceType = sourceType;
    this.url = url;
    this.httpHeaders = httpHeaders;
  }

  @NotNull
  public String getUrl() { return url; }

  @NotNull
  public DataSourceType getSourceType() {
    return sourceType;
  }

  @NotNull
  public Map getHttpHeaders() {
    return httpHeaders;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy