# This file is part of gst.
#
# Copyright (c) 2020 Roberto Leinardi
#
# gst 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.
#
# gst 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 gst.  If not, see <http://www.gnu.org/licenses/>.
from typing import Optional, Iterator


class MoboInfo:
    def __init__(self) -> None:
        self.bios_date: Optional[str] = None
        self.bios_vendor: Optional[str] = None
        self.bios_version: Optional[str] = None
        self.board_name: Optional[str] = None
        # self.board_serial: Optional[str] = None
        self.board_vendor: Optional[str] = None
        self.board_version: Optional[str] = None
        # self.chassis_type: Optional[str] = None
        # self.product_name: Optional[str] = None
        # self.product_serial: Optional[str] = None
        # self.sys_vendor: Optional[str] = None

    def __iter__(self) -> Iterator:
        for attr, value in self.__dict__.items():
            yield attr, value
