uptime-kuma-api/uptime_kuma_api/incident_style.py

24 lines
324 B
Python
Raw Normal View History

2022-07-02 21:29:16 +02:00
from enum import Enum
class IncidentStyle(str, Enum):
"""Enumerate incident styles."""
2022-07-02 21:29:16 +02:00
INFO = "info"
"""Info"""
2022-07-02 21:29:16 +02:00
WARNING = "warning"
"""Warning"""
2022-07-02 21:29:16 +02:00
DANGER = "danger"
"""Danger"""
2022-07-02 21:29:16 +02:00
PRIMARY = "primary"
"""Primary"""
2022-07-02 21:29:16 +02:00
LIGHT = "light"
"""Light"""
2022-07-02 21:29:16 +02:00
DARK = "dark"
"""Dark"""