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.ecobee.internal.dto.thermostat;
15 import java.util.List;
18 * The {@link NotificationSettingsDTO} contains the configuration of the possible alerts and
19 * reminders which can be generated by the Thermostat. The NotificationsSettings supports
20 * retrieval through a Thermostat GET call, setting the includeNotificationSettings to
21 * true in the Selection.
23 * @author Mark Hilbush - Initial contribution
25 public class NotificationSettingsDTO {
28 * The list of email addresses alerts and reminders will be sent to.
29 * The full list of email addresses must be sent in any update request.
30 * If any are missing from that list they will be deleted. If an empty
31 * list is sent, any email addresses will be deleted.
33 public List<String> emailAddresses;
36 * Boolean values representing whether or not alerts and reminders
37 * will be sent to the email addresses listed above when triggered.
39 public Boolean emailNotificationsEnabled;
42 * The list of equipment specific alert and reminder settings.
44 public List<EquipmentSettingDTO> equipment;
47 * The list of general alert and reminder settings.
49 public List<GeneralSettingDTO> general;
52 * The list of limit specific alert and reminder settings.
54 public List<LimitSettingDTO> limit;