]> git.basschouten.com Git - openhab-addons.git/blob
26dd3d1ad55c605e97b64a9bbdde218c0e82c104
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.freebox.internal.api.model;
14
15 /**
16  * The {@link FreeboxLcdConfig} is the Java class used to map the "LcdConfig"
17  * structure used by the LCD configuration API
18  * https://dev.freebox.fr/sdk/os/lcd/#
19  *
20  * @author Laurent Garnier - Initial contribution
21  */
22 public class FreeboxLcdConfig {
23     private int brightness;
24     private boolean orientationForced;
25     private int orientation;
26
27     public int getBrightness() {
28         return brightness;
29     }
30
31     public void setBrightness(int brightness) {
32         this.brightness = brightness;
33     }
34
35     public boolean isOrientationForced() {
36         return orientationForced;
37     }
38
39     public void setOrientationForced(boolean orientationForced) {
40         this.orientationForced = orientationForced;
41     }
42
43     public int getOrientation() {
44         return orientation;
45     }
46
47     public void setOrientation(int orientation) {
48         this.orientation = orientation;
49     }
50 }