![JAR search and dependency download from the Maven repository](/logo.png)
de.aipark.api.requestsResponse.getParkingAreasForPositionWithOccupancy.GetParkingAreasForPositionWithOccupancyRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aipark-api Show documentation
Show all versions of aipark-api Show documentation
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.requestsResponse.getParkingAreasForPositionWithOccupancy;
import de.aipark.api.parkingarea.ParkingAreaDataFilter;
import io.swagger.annotations.ApiModelProperty;
import org.locationtech.jts.geom.Point;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
/**
* Created by torgen on 27.09.17.
*/
public class GetParkingAreasForPositionWithOccupancyRequest {
@ApiModelProperty(value = "departurePosition of parking areas", required = true)
private Point position;
@ApiModelProperty(value = "number of parking areas", dataType = "java.lang.Integer", required = true, example = "10")
private Integer numberOfParkingAreas;
@ApiModelProperty(value = "list of filters, filter CAR_PARK combines filters for types: \"CAR_PARK, AIRPORT,PARKING_DECK_AUTOMATED, UNDERGROUND_PARKING, UNDERGROUND_PARKING_AUTOMATED \"",
dataType = "[Ljava.lang.String;", example = "[\"FREE\"]", required = true,
allowableValues = ParkingAreaDataFilter.ALLOWED_VALUES_LIST)
private List filters = new ArrayList();
@ApiModelProperty(value = "occupancy time (UNIX time (since 1970) in milliseconds)", dataType = "java.lang.Long", required = true, example = "1476561575000")
private Timestamp timestamp;
public GetParkingAreasForPositionWithOccupancyRequest() {
}
public GetParkingAreasForPositionWithOccupancyRequest(Point position, Integer numberOfParkingAreas, List filters, Timestamp timestamp) {
this.position = position;
this.numberOfParkingAreas = numberOfParkingAreas;
this.filters = filters;
this.timestamp = timestamp;
}
public Point getPosition() {
return position;
}
public void setPosition(Point position) {
this.position = position;
}
public Integer getNumberOfParkingAreas() {
return numberOfParkingAreas;
}
public void setNumberOfParkingAreas(Integer numberOfParkingAreas) {
this.numberOfParkingAreas = numberOfParkingAreas;
}
public List getFilters() {
return filters;
}
public void setFilters(List filters) {
this.filters = filters;
}
public Timestamp getTimestamp() {
return timestamp;
}
public void setTimestamp(Timestamp timestamp) {
this.timestamp = timestamp;
}
@Override
public String toString() {
return "GetParkingAreasForPositionWithOccupancyRequest{" +
"position=" + position +
", numberOfParkingAreas=" + numberOfParkingAreas +
", filters=" + filters +
", timestamp=" + timestamp +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy