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.freeboxos.internal.api.rest;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.freeboxos.internal.api.FreeboxException;
19 * The {@link NetShareManager} is the Java class used to handle api requests related to network shares
21 * @author Gaƫl L'hopital - Initial contribution
24 public class NetShareManager extends RestManager {
25 private static final String PATH = "netshare";
27 public NetShareManager(FreeboxOsSession session) throws FreeboxException {
28 super(session, LoginManager.Permission.NONE, session.getUriBuilder().path(PATH));
29 session.addManager(SambaManager.class, new SambaManager(session, getUriBuilder()));
30 session.addManager(AfpManager.class, new AfpManager(session, getUriBuilder()));