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

org.opentripplanner.ext.vilkkubikerental.VilkkuBikeRentalDataSourceParameters Maven / Gradle / Ivy

There is a newer version: 2.6.0
Show newest version
package org.opentripplanner.ext.vilkkubikerental;

import java.util.Map;
import javax.annotation.Nonnull;
import org.opentripplanner.updater.DataSourceType;
import org.opentripplanner.updater.vehicle_rental.datasources.params.VehicleRentalDataSourceParameters;

public class VilkkuBikeRentalDataSourceParameters extends VehicleRentalDataSourceParameters {

  private final boolean allowOverloading;
  private final String network;

  public VilkkuBikeRentalDataSourceParameters(
    String url,
    String network,
    boolean allowOverloading,
    @Nonnull Map httpHeaders
  ) {
    super(DataSourceType.VILKKU, url, httpHeaders);
    this.network = network;
    this.allowOverloading = allowOverloading;
  }

  public String network() {
    return network;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy