All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openmuc.jeebus.ship.node.websocket.SkiManagementInfo Maven / Gradle / Ivy

/*
 * Copyright 2024 Fraunhofer ISE
 *
 * This file is part of jEEBus.SHIP
 * For more information visit http://www.openmuc.org
 *
 * jEEBus.SHIP is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * jEEBus.SHIP is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with jEEBus.SHIP. If not, see http://www.gnu.org/licenses/.
 */

package org.openmuc.jeebus.ship.node.websocket;

public class SkiManagementInfo {
    private int trustLevel;

    private boolean authenticated;

    public SkiManagementInfo(int trustLevel) {
        this.trustLevel = trustLevel;
    }

    public SkiManagementInfo(int trustLevel, boolean authenticated) {
        this(trustLevel);
        this.authenticated = authenticated;
    }

    public int getTrustLevel() {
        return trustLevel;
    }

    public void setTrustLevel(int trustLevel) {
        this.trustLevel = trustLevel;
    }

    public boolean isAuthenticated() {
        return authenticated;
    }

    public void setAuthenticated(boolean authenticated) {
        this.authenticated = authenticated;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy