2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.freebox.internal.api.model;
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/#
20 * @author Laurent Garnier - Initial contribution
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;
30 public Boolean isFileShareEnabled() {
31 return fileShareEnabled;
34 public void setFileShareEnabled(Boolean fileShareEnabled) {
35 this.fileShareEnabled = fileShareEnabled;
38 public Boolean isPrintShareEnabled() {
39 return printShareEnabled;
42 public void setPrintShareEnabled(Boolean printShareEnabled) {
43 this.printShareEnabled = printShareEnabled;
46 public Boolean isLogonEnabled() {
50 public void setLogonEnabled(Boolean logonEnabled) {
51 this.logonEnabled = logonEnabled;
54 public String getLogonUser() {
58 public void setLogonUser(String logonUser) {
59 this.logonUser = logonUser;
62 public String getWorkgroup() {
66 public void setWorkgroup(String workgroup) {
67 this.workgroup = workgroup;
70 public void setLogonPassword(String logonPassword) {
71 this.logonPassword = logonPassword;