]> git.basschouten.com Git - openhab-addons.git/blob
286eba3fd825ce23e6bf6956fc3cabe75a881a7a
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.awattar.internal.dto;
14
15 import com.google.gson.annotations.Expose;
16 import com.google.gson.annotations.SerializedName;
17
18 /**
19  * Represents a Datum
20  *
21  * @author Wolfgang Klimt - initial contribution
22  */
23 public class Datum {
24
25     @SerializedName("end_timestamp")
26     @Expose
27     public long endTimestamp;
28     @SerializedName("marketprice")
29     @Expose
30     public double marketprice;
31     @SerializedName("start_timestamp")
32     @Expose
33     public long startTimestamp;
34     @SerializedName("unit")
35     @Expose
36     public String unit;
37 }