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.automower.internal.rest.api.automowerconnect.dto;
16 * @author Markus Pfleger - Initial contribution
18 public class MowerApp {
20 private Activity activity;
23 private int errorCode;
24 private long errorCodeTimestamp;
26 public Mode getMode() {
30 public void setMode(Mode mode) {
34 public Activity getActivity() {
38 public void setActivity(Activity activity) {
39 this.activity = activity;
42 public State getState() {
46 public void setState(State state) {
50 public int getErrorCode() {
54 public void setErrorCode(int errorCode) {
55 this.errorCode = errorCode;
58 public long getErrorCodeTimestamp() {
59 return errorCodeTimestamp;
62 public void setErrorCodeTimestamp(long errorCodeTimestamp) {
63 this.errorCodeTimestamp = errorCodeTimestamp;