org.opentripplanner.ext.vilkkubikerental.VilkkuBikeRentalDataSourceParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
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