watcher.objects.action_description
Module¶watcher.objects.action_description.
ActionDescription
(context=None, **kwargs)[source]¶Bases: watcher.objects.base.WatcherPersistentObject
, watcher.objects.base.WatcherObject
, watcher.objects.base.WatcherObjectDictCompat
create
(*args, **kwargs)[source]¶Create a ActionDescription
record in the DB.
get
(context, *args, **kwargs)[source]¶Find a action description based on its id
Parameters: |
|
---|---|
Returns: | a |
get_by_type
(context, *args, **kwargs)[source]¶Find a action description based on action type
Parameters: |
|
---|---|
Returns: | a |
list
(context, *args, **kwargs)[source]¶Return a list of ActionDescription
objects.
Parameters: |
|
---|---|
Returns: | a list of |
refresh
()[source]¶Loads updates for this ActionDescription
.
Loads a action description with the same id from the database and checks for updated attributes. Updates are applied from the loaded action description column by column, if there are any updates.
save
(*args, **kwargs)[source]¶Save updates to this ActionDescription
.
Updates will be made column by column based on the result of self.what_changed().
soft_delete
()[source]¶Soft Delete the ActionDescription
from the DB.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.