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.mybmw.internal.dto.vehicle;
15 import java.util.ArrayList;
16 import java.util.List;
20 * derived from the API responses
22 * @author Martin Grassl - initial contribution
24 public class ClimateTimer {
25 private boolean isWeeklyTimer = false; // true,
26 private String timerAction = ""; // DEACTIVATE,
27 private List<String> timerWeekDays = new ArrayList<>(); // [ MONDAY ]
28 private DepartureTime departureTime = new DepartureTime();
30 public boolean isWeeklyTimer() {
34 public void setWeeklyTimer(boolean isWeeklyTimer) {
35 this.isWeeklyTimer = isWeeklyTimer;
38 public String getTimerAction() {
42 public void setTimerAction(String timerAction) {
43 this.timerAction = timerAction;
46 public List<String> getTimerWeekDays() {
50 public void setTimerWeekDays(List<String> timerWeekDays) {
51 this.timerWeekDays = timerWeekDays;
54 public DepartureTime getDepartureTime() {
58 public void setDepartureTime(DepartureTime departureTime) {
59 this.departureTime = departureTime;
63 public String toString() {
64 return "ClimateTimer [isWeeklyTimer=" + isWeeklyTimer + ", timerAction=" + timerAction + ", timerWeekDays="
65 + timerWeekDays + ", departureTime=" + departureTime + "]";