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

de.aipark.api.requestsResponse.getOccupanciesForPositions.GetOccupanciesForPositionsRequest 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]

There is a newer version: 30.06
Show newest version
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 +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy