Cura/plugins/UM3NetworkPrinting/src/Models/Http/PrinterSystemStatus.py
2020-05-15 15:05:38 +02:00

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)