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

de.aipark.api.requestsResponse.getCostsForParkingAreas.GetCostsForParkingAreasEntry Maven / Gradle / Ivy

package de.aipark.api.requestsResponse.getCostsForParkingAreas;

import io.swagger.annotations.ApiModelProperty;

import java.sql.Timestamp;

/**
 * Created by torgen on 21.01.18.
 */
public class GetCostsForParkingAreasEntry {
    @ApiModelProperty(value = "parking area id for the request", dataType = "java.lang.Long", required = true, example = "6046759")
    private Long parkingAreaId;

    @ApiModelProperty(value = "from timestamp (UNIX time (since 1970) in milliseconds)", dataType = "java.lang.Long", required = true, example = "1498568470000")
    private Timestamp from;

    @ApiModelProperty(value = "until timestamp (UNIX time (since 1970) in milliseconds)", dataType = "java.lang.Long", required = true, example = "1498575670000")
    private Timestamp until;

    public GetCostsForParkingAreasEntry() {
    }

    public GetCostsForParkingAreasEntry(Long parkingAreaId, Timestamp from, Timestamp until) {
        this.parkingAreaId = parkingAreaId;
        this.from = from;
        this.until = until;
    }

    public Long getParkingAreaId() {
        return parkingAreaId;
    }

    public void setParkingAreaId(Long parkingAreaId) {
        this.parkingAreaId = parkingAreaId;
    }

    public Timestamp getFrom() {
        return from;
    }

    public void setFrom(Timestamp from) {
        this.from = from;
    }

    public Timestamp getUntil() {
        return until;
    }

    public void setUntil(Timestamp until) {
        this.until = until;
    }

    @Override
    public String toString() {
        return "GetCostsForParkingAreasEntry{" +
                "parkingAreaId=" + parkingAreaId +
                ", from=" + from +
                ", until=" + until +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy