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

org.opentripplanner.api.model.ApiVehicleRentalStation Maven / Gradle / Ivy

package org.opentripplanner.api.model;

import org.opentripplanner.routing.vehicle_rental.VehicleRentalStationUris;

import java.util.List;

public class ApiVehicleRentalStation {
    public String id;
    public String name;
    public double x, y; //longitude, latitude
    public int bikesAvailable = Integer.MAX_VALUE;
    public int spacesAvailable = Integer.MAX_VALUE;
    public boolean allowDropoff = true;
    public boolean isFloatingBike = false;
    public boolean isCarStation = false;

    /**
     * List of compatible network names. Null (default) to be compatible with all.
     */
    public List networks = null;

    /**
     * Whether this station has real-time data available currently. If no real-time data, users should take
     * bikesAvailable/spacesAvailable with a pinch of salt, as they are always the total capacity divided by two.
     */
    public boolean realTimeData = true;

    public VehicleRentalStationUris rentalUris;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy