]> git.basschouten.com Git - openhab-addons.git/blob
11501328349d1984609744a64e481a3d94518a0a
[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 org.openhab.binding.ecobee.internal.dto.SelectionDTO;
16
17 /**
18  * The {@link ThermostatUpdateRequestDTO} contains the information needed to make a
19  * request to update a thermostat.
20  *
21  * @author Mark Hilbush - Initial contribution
22  */
23 public class ThermostatUpdateRequestDTO {
24
25     public ThermostatUpdateRequestDTO(SelectionDTO selection) {
26         this.selection = selection;
27     }
28
29     /*
30      * Thermostat object containing changes.
31      */
32     public ThermostatDTO thermostat;
33
34     /*
35      * Specifies the thermostat to be updated.
36      */
37     public SelectionDTO selection;
38 }