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

de.aipark.api.device.Device 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.device;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * Created by Andreas on 02.11.16
 */
@SuppressWarnings({"unused", "WeakerAccess"})
public class Device implements Serializable {

    private int id;

    @ApiModelProperty(value = "uuid of device for debugging purpose", required = false, example = "ca6bd4cf-b433-4537-b6f0-d94534d2fadf")
    private String uuid;

    @ApiModelProperty(required = true)
    private DeviceModel deviceModel;

    public Device() {
    }

    public Device(String uuid, DeviceModel deviceModel) {
        this.uuid = uuid;
        this.deviceModel = deviceModel;
    }

    public Device(int id, String uuid, DeviceModel deviceModel) {
        this.id = id;
        this.uuid = uuid;
        this.deviceModel = deviceModel;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public DeviceModel getDeviceModel() {
        return deviceModel;
    }

    public void setDeviceModel(DeviceModel deviceModel) {
        this.deviceModel = deviceModel;
    }

    @Override
    public String toString() {
        return "Device{" +
                "id=" + id +
                ", uuid=" + uuid + '\'' +
                ", deviceModel=" + deviceModel +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy