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

org.opentripplanner.updater.vehicle_parking.AvailabiltyUpdate Maven / Gradle / Ivy

The newest version!
package org.opentripplanner.updater.vehicle_parking;

import java.util.Objects;
import org.opentripplanner.transit.model.framework.FeedScopedId;
import org.opentripplanner.utils.lang.IntUtils;

public record AvailabiltyUpdate(FeedScopedId vehicleParkingId, int spacesAvailable) {
  public AvailabiltyUpdate {
    Objects.requireNonNull(vehicleParkingId);
    IntUtils.requireNotNegative(spacesAvailable);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy