Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.4 KB

AlarmTimelineInfo.md

File metadata and controls

38 lines (29 loc) · 1.4 KB

AlarmTimelineInfo

The alarm as it is after the event

Properties

Name Type Description Notes
id str Unique alarm identifier.
creation_time datetime
timestamp datetime
source IdObject
type str Type of the alarm.
text str Description of the alarm.
severity AlarmSeverity
status AlarmStatus [default to AlarmStatus.ACTIVE]
assignee str String field to indicate an assignee for the alarm. [optional]

Example

from waylay.services.alarms.models.alarm_timeline_info import AlarmTimelineInfo

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

# convert the object into a dict
alarm_timeline_info_dict = alarm_timeline_info_instance.to_dict()
# create an instance of AlarmTimelineInfo from a dict
alarm_timeline_info_form_dict = alarm_timeline_info.from_dict(alarm_timeline_info_dict)

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