karbor.objects.trigger
Module¶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
= {'project_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'properties': Dict(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted': Boolean(default=False,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}¶get_by_id
(context, *args, **kwargs)¶id
¶name
¶project_id
¶properties
¶save
(*args, **kwargs)¶type
¶updated_at
¶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)}¶get_by_filters
(context, *args, **kwargs)¶objects
¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.