de.aipark.api.requestsResponse.getOccupanciesForPositions.GetOccupanciesForPositionsRequest 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.getOccupanciesForPositions;
import com.vividsolutions.jts.geom.Point;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Timestamp;
import java.util.List;
/**
* Created by torgen on 16.11.17.
*/
public class GetOccupanciesForPositionsRequest {
@ApiModelProperty(value = "start timestamp (UNIX time (since 1970) in milliseconds)", dataType = "java.lang.Long", required = true, example = "1510822329017")
private Timestamp startTimestamp;
@ApiModelProperty(value = "end timestamp (UNIX time (since 1970) in milliseconds)", dataType = "java.lang.Long", required = true, example = "1510825929017")
private Timestamp endTimestamp;
@ApiModelProperty(value = "interval minutes", dataType = "java.lang.Integer", required = true, example = "15")
private Integer intervalMinutes;
@ApiModelProperty(value = "departurePositions for occupancy")
private List points;
public GetOccupanciesForPositionsRequest() {
}
public GetOccupanciesForPositionsRequest(Timestamp startTimestamp, Timestamp endTimestamp, Integer intervalMinutes, List points) {
this.startTimestamp = startTimestamp;
this.endTimestamp = endTimestamp;
this.intervalMinutes = intervalMinutes;
this.points = points;
}
public Timestamp getStartTimestamp() {
return startTimestamp;
}
public void setStartTimestamp(Timestamp startTimestamp) {
this.startTimestamp = startTimestamp;
}
public Timestamp getEndTimestamp() {
return endTimestamp;
}
public void setEndTimestamp(Timestamp endTimestamp) {
this.endTimestamp = endTimestamp;
}
public Integer getIntervalMinutes() {
return intervalMinutes;
}
public void setIntervalMinutes(Integer intervalMinutes) {
this.intervalMinutes = intervalMinutes;
}
public List getPoints() {
return points;
}
public void setPoints(List points) {
this.points = points;
}
@Override
public String toString() {
return "GetOccupanciesForPositionsRequest{" +
"startTimestamp=" + startTimestamp +
", endTimestamp=" + endTimestamp +
", intervalMinutes=" + intervalMinutes +
", points=" + points +
'}';
}
}