de.aipark.api.requestsResponse.getParkingAreasForTile.GetParkingAreasForTileRequest 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]
package de.aipark.api.requestsResponse.getParkingAreasForTile;
import de.aipark.api.parkingarea.ParkingAreaDataFilter;
import de.aipark.api.tile.Tile;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
/**
* Created by torgen on 29.08.17.
*/
public class GetParkingAreasForTileRequest {
@ApiModelProperty(value = "tile of parking areas", dataType = "de.aipark.api.tile.Tile", required = true)
private Tile tile;
@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();
public GetParkingAreasForTileRequest(Tile tile, List filters) {
this.tile = tile;
this.filters = filters;
}
public GetParkingAreasForTileRequest() {
}
public Tile getTile() {
return tile;
}
public void setTile(Tile tile) {
this.tile = tile;
}
public List getFilters() {
return filters;
}
public void setFilters(List filters) {
this.filters = filters;
}
@Override
public String toString() {
return "GetParkingAreasForTileRequest{" +
"tile=" + tile +
", filters=" + filters +
'}';
}
}