Name | Type | Description | Notes |
---|---|---|---|
id | object | [optional] | |
source | object | [optional] | |
subject | str | ||
type | CloudAlarmEventDataType | [optional] | |
data | AlarmEvent | [optional] | |
time | datetime |
from waylay.services.alarms.models.cloud_alarm_event import CloudAlarmEvent
# TODO update the JSON string below
json = "{}"
# create an instance of CloudAlarmEvent from a JSON string
cloud_alarm_event_instance = CloudAlarmEvent.from_json(json)
# print the JSON string representation of the object
print CloudAlarmEvent.to_json()
# convert the object into a dict
cloud_alarm_event_dict = cloud_alarm_event_instance.to_dict()
# create an instance of CloudAlarmEvent from a dict
cloud_alarm_event_form_dict = cloud_alarm_event.from_dict(cloud_alarm_event_dict)