2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.boschindego.internal.dto.response;
15 import org.openhab.binding.boschindego.internal.dto.response.runtime.DeviceStateRuntimes;
17 import com.google.gson.annotations.SerializedName;
20 * Response after querying the device status.
22 * @author Jacob Laursen - Initial contribution
24 public class DeviceStateResponse {
30 public boolean enabled;
32 @SerializedName("map_update_available")
33 public boolean mapUpdateAvailable;
37 @SerializedName("mowmode")
45 * This is returned only for non-longpoll requests.
47 public DeviceStateRuntimes runtime;
50 * This is returned only for longpoll requests.
55 * This is returned only for longpoll requests.
59 @SerializedName("mowed_ts")
60 public long mowedTimestamp;
62 @SerializedName("mapsvgcache_ts")
63 public long mapSvgCacheTimestamp;
65 @SerializedName("svg_xPos")
68 @SerializedName("svg_yPos")
71 @SerializedName("config_change")
72 public boolean configChange;
74 @SerializedName("mow_trig")
75 public boolean mowTrigger;