pywebui.alerts
¶
Module Contents¶
Classes¶
Alert object. |
|
Bookmark object. |
|
Available alert types. |
|
Encapsulates methods for manage alerts. |
- class pywebui.alerts.Alert¶
Alert object.
- bookmark¶
the message added to bookmarks or not (boolean value)
- Type
bool
- id¶
the ID of message
- Type
int
- message¶
the text of message
- Type
str
- node¶
the node name where alert occurred
- Type
str
- timestamp¶
the time when alert occurred
- Type
int
- class pywebui.alerts.Bookmark¶
Bookmark object.
- id¶
the ID of message
- Type
int
- message¶
the text of message
- Type
str
- node¶
the node name where alert occurred
- Type
str
- timestamp¶
the time when alert occurred
- Type
int
- type¶
the type of message.
- Type
str
- username¶
the username who added message to bookmarks
- Type
str
- class pywebui.alerts.AlertType¶
Available alert types.
- OPCOM = opcom¶
- INTRUSIONS = intrusions¶
- DEVICES = devices¶