SyncThruTelegram/alert.py

6 lines
198 B
Python
Raw Normal View History

2023-04-17 02:49:07 +02:00
class Alert:
def __init__(self, severity: int, code: str, desc: str, uptime: int):
self.severity = severity
self.code = code
self.desc = desc
self.uptime = uptime