Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.16 KB

AlarmEvent.md

File metadata and controls

32 lines (23 loc) · 1.16 KB

AlarmEvent

Properties

Name Type Description Notes
eventtype AlarmEventType
eventtime datetime
alarm AlarmEventAlarm
changes List[AlarmEventChangesInner] Describes the changes that where done Will only be there if `eventtype` is `io.waylay.alarm.AlarmUpdated` [optional]

Example

from waylay.services.alarms.models.alarm_event import AlarmEvent

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

# convert the object into a dict
alarm_event_dict = alarm_event_instance.to_dict()
# create an instance of AlarmEvent from a dict
alarm_event_form_dict = alarm_event.from_dict(alarm_event_dict)

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