
de.aipark.api.sdk.route.Route 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.sdk.route;
import de.aipark.api.device.AppVersion;
import de.aipark.api.device.Device;
import de.aipark.api.device.OsVersion;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
/**
* Created by Andreas on 31.10.16
*/
@SuppressWarnings({"unused", "WeakerAccess"})
@ApiModel("RouteSDK")
public class Route implements Serializable {
private long id;
@ApiModelProperty(required = true)
private AppVersion appVersion;
@ApiModelProperty(required = true)
private OsVersion osVersion;
@ApiModelProperty(required = true)
private Device device;
@ApiModelProperty(required = true)
private List routePoints;
public Route() {
}
public Route(AppVersion appVersion, OsVersion osVersion, Device device, List routePoints) {
this.appVersion = appVersion;
this.osVersion = osVersion;
this.device = device;
this.routePoints = routePoints;
}
public Route(long id, AppVersion appVersion, OsVersion osVersion, Device device, List routePoints) {
this.id = id;
this.appVersion = appVersion;
this.osVersion = osVersion;
this.device = device;
this.routePoints = routePoints;
}
public Route(long id, AppVersion appVersion, OsVersion osVersion, Device device) {
this.id = id;
this.appVersion = appVersion;
this.osVersion = osVersion;
this.device = device;
}
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public AppVersion getAppVersion() {
return appVersion;
}
public void setAppVersion(AppVersion appVersion) {
this.appVersion = appVersion;
}
public OsVersion getOsVersion() {
return osVersion;
}
public void setOsVersion(OsVersion osVersion) {
this.osVersion = osVersion;
}
public Device getDevice() {
return device;
}
public void setDevice(Device device) {
this.device = device;
}
public List getRoutePoints() {
return routePoints;
}
public void setRoutePoints(List routePoints) {
this.routePoints = routePoints;
}
@Override
public String toString() {
StringBuilder stringBuilder = new StringBuilder();
stringBuilder.append("[");
for (RoutePoint routePoint : routePoints) {
stringBuilder.append(routePoint.toString()).append(", ");
}
stringBuilder.append("]");
return "Route{" +
"id=" + id +
", appVersion=" + appVersion +
", osVersion=" + osVersion +
", device=" + device +
", routePoints=" + stringBuilder.toString() +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy