#  Copyright (c) 2021
#
#  This file, Host.py, is part of Project python-SnapControl.
#
#  Project python-SnapControl is free software: you can redistribute it and/or
#  modify it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 3 of the License, or
#  (at your option) any later version.
#
#  This program 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 General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program.  If not, see <https://www.gnu.org/licenses/>



#-----------------------------------------------
class Host():
  def __init__(self, hostData):
    arch, ip, mac, name, os = hostData.values()

    self._arch = arch
    self._ip   = ip
    self._mac  = mac
    self._name = name
    self._os   = os
    # print(f"######################## Host created: arch: {self._arch}, ip: {self._ip}, mac: {self._mac}, name: {self._name}, os: {self._os}")

  @property
  def name(self):
    return self._name
