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 org.openhab.binding.ecobee.internal.dto.SelectionDTO;
18 * The {@link ThermostatUpdateRequestDTO} contains the information needed to make a
19 * request to update a thermostat.
21 * @author Mark Hilbush - Initial contribution
23 public class ThermostatUpdateRequestDTO {
25 public ThermostatUpdateRequestDTO(SelectionDTO selection) {
26 this.selection = selection;
30 * Thermostat object containing changes.
32 public ThermostatDTO thermostat;
35 * Specifies the thermostat to be updated.
37 public SelectionDTO selection;