]> git.basschouten.com Git - openhab-addons.git/blob
eea14b4e78c5288be294eeecc49dc19e0ba065e6
[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 FreeboxPermissions} is the Java class used to map the
17  * structure used inside the response of the open session API to provide
18  * the permissions
19  * https://dev.freebox.fr/sdk/os/login/#
20  *
21  * @author Laurent Garnier - Initial contribution
22  */
23 public class FreeboxPermissions {
24     private Boolean settings;
25     private Boolean contacts;
26     private Boolean calls;
27     private Boolean explorer;
28     private Boolean downloader;
29     private Boolean parental;
30     private Boolean pvr;
31     private Boolean tv;
32
33     public Boolean isSettingsAllowed() {
34         return settings;
35     }
36
37     public Boolean isContactsAllowed() {
38         return contacts;
39     }
40
41     public Boolean isCallsAllowed() {
42         return calls;
43     }
44
45     public Boolean isExplorerAllowed() {
46         return explorer;
47     }
48
49     public Boolean isDownloaderAllowed() {
50         return downloader;
51     }
52
53     public Boolean isParentalAllowed() {
54         return parental;
55     }
56
57     public Boolean isPvrAllowed() {
58         return pvr;
59     }
60
61     public Boolean istTvAllowed() {
62         return tv;
63     }
64 }