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

de.aipark.api.occupancy.ParkingAreaWithOccupancy Maven / Gradle / Ivy

Go to download

AIPARK offers detailed parking information for more than 1.8 Mio parking areas in Germany with nationwide coverage. Additionally, accurate occupancy predictions are derived using data from a network of more than 5 million smartphones. Use the AIPARK API Explorer application to try out and test the interface. Please send a request via email if you are a developer and require an API key. We'll be in touch with you shortly. This application is provided via a demo backend environment. Please note that API load tests do not reflect the performance of the productive system. Mail: [email protected]

The newest version!
package de.aipark.api.occupancy;

import de.aipark.api.parkingarea.ParkingArea;
import io.swagger.annotations.ApiModelProperty;

/**
 * Created by torgen on 25.09.17.
 */
public class ParkingAreaWithOccupancy {
    @ApiModelProperty(value = "parking area", dataType = "de.aipark.api.parkingarea.ParkingArea", required = true)
    private ParkingArea parkingArea;

    @ApiModelProperty(value = "occupancy for parking area", dataType = "de.aipark.api.occupancy.Occupancy", required = true)
    private Occupancy occupancy;

    public ParkingAreaWithOccupancy() {
    }

    public ParkingAreaWithOccupancy(ParkingArea parkingArea, Occupancy occupancy) {
        this.parkingArea = parkingArea;
        this.occupancy = occupancy;
    }

    public ParkingArea getParkingArea() {
        return parkingArea;
    }

    public void setParkingArea(ParkingArea parkingArea) {
        this.parkingArea = parkingArea;
    }

    public Occupancy getOccupancy() {
        return occupancy;
    }

    public void setOccupancy(Occupancy occupancy) {
        this.occupancy = occupancy;
    }

    @Override
    public String toString() {
        return "ParkingAreaWithOccupancy{" +
                "parkingArea=" + parkingArea +
                ", occupancy=" + occupancy +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy