]> git.basschouten.com Git - openhab-addons.git/blob
65c9b2db5f9e0c8c7d5b97bd34a5d2436a194ca6
[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.foobot.internal.json;
14
15 import java.util.List;
16
17 /**
18  * The {@link FoobotJsonData} is responsible for storing the "datapoints" from the foobot.io JSON response
19  *
20  * @author Divya Chauhan - Initial contribution
21  */
22 public class FoobotJsonData {
23
24     private String uuid;
25     private long start;
26     private long end;
27     private List<String> sensors;
28     private List<String> units;
29     private List<List<String>> datapoints;
30
31     public String getUuid() {
32         return uuid;
33     }
34
35     public long getStart() {
36         return start;
37     }
38
39     public long getEnd() {
40         return end;
41     }
42
43     public List<String> getSensors() {
44         return sensors;
45     }
46
47     public List<String> getUnits() {
48         return units;
49     }
50
51     public List<List<String>> getDatapoints() {
52         return datapoints;
53     }
54
55     public void setDatapoints(List<List<String>> datapoints) {
56         this.datapoints = datapoints;
57     }
58 }