]> git.basschouten.com Git - openhab-addons.git/blob
f10b5efd5dafa959356191c7ff6e728f30d23e22
[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.io.hueemulation.internal.dto;
14
15 import org.openhab.io.hueemulation.internal.dto.changerequest.HueChangeScheduleEntry;
16 import org.openhab.io.hueemulation.internal.dto.changerequest.HueCommand;
17
18 /**
19  * Hue API scan result object.
20  * Enpoint: /api/{username}/lights/new
21  *
22  * @author David Graeff - Initial contribution
23  */
24 public class HueScheduleEntry extends HueChangeScheduleEntry {
25     /**
26      * Assign default values to all fields that are otherwise nullable by the {@link HueChangeScheduleEntry}.
27      */
28     public HueScheduleEntry() {
29         command = new HueCommand();
30         name = "";
31         description = "";
32         localtime = "";
33         status = "disabled";
34         recycle = false;
35         autodelete = true;
36     }
37 }