
org.opentripplanner.updater.vehicle_parking.AvailabiltyUpdate 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
The newest version!
package org.opentripplanner.updater.vehicle_parking;
import java.util.Objects;
import org.opentripplanner.framework.lang.IntUtils;
import org.opentripplanner.transit.model.framework.FeedScopedId;
public record AvailabiltyUpdate(FeedScopedId vehicleParkingId, int spacesAvailable) {
public AvailabiltyUpdate {
Objects.requireNonNull(vehicleParkingId);
IntUtils.requireNotNegative(spacesAvailable);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy