The karbor.objects.trigger
Module¶
-
class
karbor.objects.trigger.
Trigger
(context=None, **kwargs)¶ Bases:
karbor.objects.base.KarborPersistentObject
,karbor.objects.base.KarborObject
,karbor.objects.base.KarborObjectDictCompat
,karbor.objects.base.KarborComparableObject
-
VERSION
= ‘1.0’¶
-
create
(*args, **kwargs)¶
-
created_at
¶
-
deleted
¶
-
deleted_at
¶
-
destroy
(*args, **kwargs)¶
-
fields
= {‘id’: UUID(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘project_id’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘updated_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘type’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘deleted_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘created_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘name’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘deleted’: Boolean(default=False,nullable=False), ‘properties’: Dict(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False)}¶
-
classmethod
get_by_id
(context, *args, **kwargs)¶
-
id
¶
-
name
¶
-
project_id
¶
-
properties
¶
-
save
(*args, **kwargs)¶
-
type
¶
-
updated_at
¶
-
-
class
karbor.objects.trigger.
TriggerList
(*args, **kwargs)¶ Bases:
karbor.objects.base.ObjectListBase
,karbor.objects.base.KarborObject
-
VERSION
= ‘1.0’¶
-
fields
= {‘objects’: List(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False)}¶
-
classmethod
get_by_filters
(context, *args, **kwargs)¶
-
objects
¶
-