]> git.basschouten.com Git - openhab-addons.git/blob
1b101897a83b70f5793b2f3ee2170a8df513ecb4
[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.groupepsa.internal.rest.api.dto;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * @author Arjan Mels - Initial contribution
20  */
21 @NonNullByDefault
22 public class Luminosity {
23
24     private @Nullable Boolean day;
25
26     public @Nullable Boolean isDay() {
27         return day;
28     }
29
30     @Override
31     public String toString() {
32         return new ToStringBuilder(this).append("day", day).toString();
33     }
34 }