de.aipark.api.requestsResponse.getOccupanciesForPositions.GetOccupanciesForPositionsRequest Maven / Gradle / Ivy
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", dataType = "java.lang.Long", required = true, example = "1510822329017")
private Timestamp startTimestamp;
@ApiModelProperty(value = "end timestamp", 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;
}
}