]> git.basschouten.com Git - openhab-addons.git/blob
fd3f95e3ab834f4f7d5d75f83fa6e4ae7c688d8e
[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.automower.internal.rest.api.automowerconnect.dto;
14
15 /**
16  * @author Markus Pfleger - Initial contribution
17  */
18 public class MowerApp {
19     private Mode mode;
20     private Activity activity;
21     private State state;
22
23     private int errorCode;
24     private long errorCodeTimestamp;
25
26     public Mode getMode() {
27         return mode;
28     }
29
30     public void setMode(Mode mode) {
31         this.mode = mode;
32     }
33
34     public Activity getActivity() {
35         return activity;
36     }
37
38     public void setActivity(Activity activity) {
39         this.activity = activity;
40     }
41
42     public State getState() {
43         return state;
44     }
45
46     public void setState(State state) {
47         this.state = state;
48     }
49
50     public int getErrorCode() {
51         return errorCode;
52     }
53
54     public void setErrorCode(int errorCode) {
55         this.errorCode = errorCode;
56     }
57
58     public long getErrorCodeTimestamp() {
59         return errorCodeTimestamp;
60     }
61
62     public void setErrorCodeTimestamp(long errorCodeTimestamp) {
63         this.errorCodeTimestamp = errorCodeTimestamp;
64     }
65 }