mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
20 lines
676 B
Python
20 lines
676 B
Python
# Copyright (c) 2019 Ultimaker B.V.
|
|
# Cura is released under the terms of the LGPLv3 or higher.
|
|
from typing import Dict, Any
|
|
|
|
from ..BaseModel import BaseModel
|
|
|
|
|
|
class PrinterSystemStatus(BaseModel):
|
|
"""Class representing the system status of a printer."""
|
|
|
|
def __init__(self, guid: str, firmware: str, hostname: str, name: str, platform: str, variant: str,
|
|
hardware: Dict[str, Any], **kwargs) -> None:
|
|
self.guid = guid
|
|
self.firmware = firmware
|
|
self.hostname = hostname
|
|
self.name = name
|
|
self.platform = platform
|
|
self.variant = variant
|
|
self.hardware = hardware
|
|
super().__init__(**kwargs)
|