Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.34 KB

AlarmEventAlarm.md

File metadata and controls

39 lines (30 loc) · 1.34 KB

AlarmEventAlarm

Summary representation of an alarm.

Properties

Name Type Description Notes
id str Unique alarm identifier.
tenant_id str
creation_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

Example

from waylay.services.alarms.models.alarm_event_alarm import AlarmEventAlarm

# TODO update the JSON string below
json = "{}"
# create an instance of AlarmEventAlarm from a JSON string
alarm_event_alarm_instance = AlarmEventAlarm.from_json(json)
# print the JSON string representation of the object
print AlarmEventAlarm.to_json()

# convert the object into a dict
alarm_event_alarm_dict = alarm_event_alarm_instance.to_dict()
# create an instance of AlarmEventAlarm from a dict
alarm_event_alarm_form_dict = alarm_event_alarm.from_dict(alarm_event_alarm_dict)

[Back to Model list] [Back to API list] [Back to README]