]> git.basschouten.com Git - openhab-addons.git/blob
b8e4a9f278ab53284ed2bedc5dd7ae2707763465
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.boschindego.internal.dto.response;
14
15 import org.openhab.binding.boschindego.internal.dto.response.runtime.DeviceStateRuntimes;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * Response after querying the device status.
21  * 
22  * @author Jacob Laursen - Initial contribution
23  */
24 public class DeviceStateResponse {
25
26     public int state;
27
28     public int error;
29
30     public boolean enabled;
31
32     @SerializedName("map_update_available")
33     public boolean mapUpdateAvailable;
34
35     public int mowed;
36
37     @SerializedName("mowmode")
38     public long mowMode;
39
40     public int xPos;
41
42     public int yPos;
43
44     public DeviceStateRuntimes runtime;
45
46     @SerializedName("mowed_ts")
47     public long mowedTimestamp;
48
49     @SerializedName("mapsvgcache_ts")
50     public long mapSvgCacheTimestamp;
51
52     @SerializedName("svg_xPos")
53     public int svgXPos;
54
55     @SerializedName("svg_yPos")
56     public int svgYPos;
57
58     @SerializedName("config_change")
59     public boolean configChange;
60
61     @SerializedName("mow_trig")
62     public boolean mowTrigger;
63 }