1# Copyright (c) 2019 Ultimaker B.V.
2# Cura is released under the terms of the LGPLv3 or higher.
3
4
5class Peripheral:
6    """Data class that represents a peripheral for a printer.
7
8    Output device plug-ins may specify that the printer has a certain set of
9    peripherals. This set is then possibly shown in the interface of the monitor
10    stage.
11    """
12
13    def __init__(self, peripheral_type: str, name: str) -> None:
14        """Constructs the peripheral.
15
16        :param peripheral_type: A unique ID for the type of peripheral.
17        :param name: A human-readable name for the peripheral.
18        """
19        self.type = peripheral_type
20        self.name = name
21