]> git.basschouten.com Git - openhab-addons.git/blob
30291a908496b8f40b028bc661c66d1c767ea09f
[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  * @author Marcin Czeczko - Added support for planner & calendar data
18  */
19 public class Planner {
20     private long nextStartTimestamp;
21     private RestrictedReason restrictedReason;
22     private PlannerOverride override;
23
24     public long getNextStartTimestamp() {
25         return nextStartTimestamp;
26     }
27
28     public Planner setNextStartTimestamp(long nextStartTimestamp) {
29         this.nextStartTimestamp = nextStartTimestamp;
30         return this;
31     }
32
33     public RestrictedReason getRestrictedReason() {
34         return restrictedReason;
35     }
36
37     public Planner setRestrictedReason(RestrictedReason restrictedReason) {
38         this.restrictedReason = restrictedReason;
39         return this;
40     }
41
42     public PlannerOverride getOverride() {
43         return override;
44     }
45
46     public Planner setOverride(PlannerOverride override) {
47         this.override = override;
48         return this;
49     }
50 }