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
17 * @author Marcin Czeczko - Added support for planner & calendar data
19 public class Planner {
20 private long nextStartTimestamp;
21 private RestrictedReason restrictedReason;
22 private PlannerOverride override;
24 public long getNextStartTimestamp() {
25 return nextStartTimestamp;
28 public Planner setNextStartTimestamp(long nextStartTimestamp) {
29 this.nextStartTimestamp = nextStartTimestamp;
33 public RestrictedReason getRestrictedReason() {
34 return restrictedReason;
37 public Planner setRestrictedReason(RestrictedReason restrictedReason) {
38 this.restrictedReason = restrictedReason;
42 public PlannerOverride getOverride() {
46 public Planner setOverride(PlannerOverride override) {
47 this.override = override;