]> git.basschouten.com Git - openhab-addons.git/blob
e8df14a07a9dc116657113194662bfc2bcc7899a
[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.freebox.internal.api.model;
14
15 /**
16  * The {@link FreeboxSambaConfig} is the Java class used to map the "SambaConfig"
17  * structure used by the Samba configuration API
18  * https://dev.freebox.fr/sdk/os/network_share/#
19  *
20  * @author Laurent Garnier - Initial contribution
21  */
22 public class FreeboxSambaConfig {
23     private Boolean fileShareEnabled;
24     private Boolean printShareEnabled;
25     private Boolean logonEnabled;
26     private String logonUser;
27     private String logonPassword;
28     private String workgroup;
29
30     public Boolean isFileShareEnabled() {
31         return fileShareEnabled;
32     }
33
34     public void setFileShareEnabled(Boolean fileShareEnabled) {
35         this.fileShareEnabled = fileShareEnabled;
36     }
37
38     public Boolean isPrintShareEnabled() {
39         return printShareEnabled;
40     }
41
42     public void setPrintShareEnabled(Boolean printShareEnabled) {
43         this.printShareEnabled = printShareEnabled;
44     }
45
46     public Boolean isLogonEnabled() {
47         return logonEnabled;
48     }
49
50     public void setLogonEnabled(Boolean logonEnabled) {
51         this.logonEnabled = logonEnabled;
52     }
53
54     public String getLogonUser() {
55         return logonUser;
56     }
57
58     public void setLogonUser(String logonUser) {
59         this.logonUser = logonUser;
60     }
61
62     public String getWorkgroup() {
63         return workgroup;
64     }
65
66     public void setWorkgroup(String workgroup) {
67         this.workgroup = workgroup;
68     }
69
70     public void setLogonPassword(String logonPassword) {
71         this.logonPassword = logonPassword;
72     }
73 }