2 * Copyright (c) 2010-2020 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.gardena.internal.model;
15 import com.google.gson.annotations.SerializedName;
18 * Represents a Gardena scheduled event.
20 * @author Gerhard Riegler - Initial contribution
22 public class ScheduledEvent {
26 @SerializedName("start_at")
28 @SerializedName("end_at")
30 private String weekday;
32 private Recurrence recurrence = new Recurrence();
35 * Returns the id of the scheduled event.
37 public String getId() {
42 * Returns the type of the scheduled event.
44 public String getType() {
49 * Returns the start of the scheduled event.
51 public String getStart() {
56 * Returns the end of the scheduled event.
58 public String getEnd() {
63 * Returns the weekday of the scheduled event.
65 public String getWeekday() {
70 * Returns the recurrence of the scheduled event.
72 public Recurrence getRecurrence() {