
de.aipark.api.requestsResponse.getOccupancyForParkingAreas.RequestEntry 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.getOccupancyForParkingAreas;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Timestamp;
/**
* Created by torgen on 25.09.17.
*/
public class RequestEntry {
@ApiModelProperty(value = "timestamp for occupancy (UNIX time (since 1970) in milliseconds)", dataType = "java.lang.Long", required = true, example = "1476561575000")
private Timestamp timestamp;
@ApiModelProperty(value = "id of parking area", dataType = "java.lang.Long", required = true, example = "3376765")
private Long parkingAreaId;
public RequestEntry() {
}
public RequestEntry(Timestamp timestamp, Long parkingAreaId) {
this.timestamp = timestamp;
this.parkingAreaId = parkingAreaId;
}
public Timestamp getTimestamp() {
return timestamp;
}
public void setTimestamp(Timestamp timestamp) {
this.timestamp = timestamp;
}
public Long getParkingAreaId() {
return parkingAreaId;
}
public void setParkingAreaId(Long parkingAreaId) {
this.parkingAreaId = parkingAreaId;
}
@Override
public String toString() {
return "RequestEntry{" +
"timestamp=" + timestamp +
", parkingAreaId=" + parkingAreaId +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy