The heat.objects.watch_data Module

WatchData object.

class heat.objects.watch_data.WatchData(context=None, **kwargs)[source]

Bases: heat.objects.base.HeatObject, oslo_versionedobjects.base.VersionedObjectDictCompat

classmethod create(context, values)[source]
fields = {‘id’: Integer(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘watch_rule_id’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘created_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘updated_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘data’: Json(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True)}
classmethod get_all(context)[source]
classmethod get_all_by_watch_rule_id(context, watch_rule_id)[source]