Name | Type | Description | Notes |
---|---|---|---|
id | str | Unique alarm identifier. | |
creation_time | datetime | ||
last_update_time | datetime | ||
last_triggered_time | datetime | ||
type | str | Type of the alarm. | |
text | str | Description of the alarm. | |
timestamp | datetime | ||
source | IdObject | ||
severity | AlarmSeverity | ||
status | AlarmStatus | [default to AlarmStatus.ACTIVE] | |
count | int | The number of times this alarm has been sent | |
assignee | str | String field to indicate an assignee for the alarm. | [optional] |
history | List[AlarmAuditRecord] | [optional] | |
var_self | str | [optional] | |
additional_properties | object | Additional properties that were present in the creation payload | [optional] |
from waylay.services.alarms.models.alarm_entity import AlarmEntity
# TODO update the JSON string below
json = "{}"
# create an instance of AlarmEntity from a JSON string
alarm_entity_instance = AlarmEntity.from_json(json)
# print the JSON string representation of the object
print AlarmEntity.to_json()
# convert the object into a dict
alarm_entity_dict = alarm_entity_instance.to_dict()
# create an instance of AlarmEntity from a dict
alarm_entity_form_dict = alarm_entity.from_dict(alarm_entity_dict)