org.opentripplanner.model.BikeRentalStationInfo 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.model;
import org.opentripplanner.routing.vertextype.BikeRentalStationVertex;
/**
* This is a response model class which holds data that will be serialized and returned to the client.
* It is not used internally in routing.
*/
public class BikeRentalStationInfo {
public String id;
public String name;
public Double lat, lon;
public BikeRentalStationInfo(BikeRentalStationVertex vertex) {
id = vertex.getId();
name = vertex.getName();
lat = vertex.getLat();
lon = vertex.getLon();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy