2 * Copyright (c) 2010-2022 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")
44 public DeviceStateRuntimes runtime;
46 @SerializedName("mowed_ts")
47 public long mowedTimestamp;
49 @SerializedName("mapsvgcache_ts")
50 public long mapSvgCacheTimestamp;
52 @SerializedName("svg_xPos")
55 @SerializedName("svg_yPos")
58 @SerializedName("config_change")
59 public boolean configChange;
61 @SerializedName("mow_trig")
62 public boolean mowTrigger;