ParkingAvailabilityResponse

data class ParkingAvailabilityResponse(val statuses: List<ParkingAvailabilityStatus>, val parkingDetailId: ParkingDetailId)

Response of a parking availability request from ParkingDetailProvider.

Constructors

Link copied to clipboard
constructor(statuses: List<ParkingAvailabilityStatus>, parkingDetailId: ParkingDetailId)

Properties

Link copied to clipboard

The parking details ID of the intended parking place, echoing the provided ID in the request.

Link copied to clipboard

The statuses available for this parking site. Usually there is only one available status. However, it could be extended to include past statuses (e.g., 1 hour ago, 3 hours ago).