]> git.basschouten.com Git - openhab-addons.git/blob
6dea4de526083c38963a4b53f6ab846f6ebe7c49
[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.ecobee.internal.dto.thermostat;
14
15 import java.util.List;
16
17 /**
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.
22  *
23  * @author Mark Hilbush - Initial contribution
24  */
25 public class NotificationSettingsDTO {
26
27     /*
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.
32      */
33     public List<String> emailAddresses;
34
35     /*
36      * Boolean values representing whether or not alerts and reminders
37      * will be sent to the email addresses listed above when triggered.
38      */
39     public Boolean emailNotificationsEnabled;
40
41     /*
42      * The list of equipment specific alert and reminder settings.
43      */
44     public List<EquipmentSettingDTO> equipment;
45
46     /*
47      * The list of general alert and reminder settings.
48      */
49     public List<GeneralSettingDTO> general;
50
51     /*
52      * The list of limit specific alert and reminder settings.
53      */
54     public List<LimitSettingDTO> limit;
55 }