]> git.basschouten.com Git - openhab-addons.git/blob
d61573bf8ca7114181b510b84f4548102213fc80
[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.orbitbhyve.internal.model;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * The {@link OrbitBhyveDeviceStatus} holds information about a B-Hyve
21  * device status.
22  *
23  * @author Ondrej Pecta - Initial contribution
24  */
25 @NonNullByDefault
26 public class OrbitBhyveDeviceStatus {
27     @SerializedName("run_mode")
28     String mode = "";
29
30     @SerializedName("next_start_time")
31     String nextStartTime = "";
32
33     @SerializedName("rain_delay")
34     int delay = 0;
35
36     @SerializedName("rain_delay_started_at")
37     String rainDelayStartedAt = "";
38
39     public String getMode() {
40         return mode;
41     }
42
43     public String getNextStartTime() {
44         return nextStartTime;
45     }
46
47     public int getDelay() {
48         return delay;
49     }
50 }