cfme.generic_objects.definition package¶
Submodules¶
Module contents¶
-
class
cfme.generic_objects.definition.GenericObjectDefinition(parent, name, description, attributes=None, associations=None, methods=None, custom_image_file_path=None)[source]¶ Bases:
cfme.modeling.base.BaseEntity,cfme.utils.update.Updateable,sentaku.modeling.ElementMixinGeneric Objects Definition class to context switch between UI and REST.
Read/Update/Delete functionality.
-
__ge__(other)¶ Automatically created by attrs.
-
__gt__(other)¶ Automatically created by attrs.
-
__le__(other)¶ Automatically created by attrs.
-
__lt__(other)¶ Automatically created by attrs.
-
__ne__(other)¶ Check equality and either forward a NotImplemented or return the result negated.
-
__repr__()¶ Automatically created by attrs.
descriptor for implementing context sensitive methods and registration of their implementations
class Example(Element): action = ContextualMethod() @action.implemented_for("db") def action(self): pass @action.implemented_for("test") def action(self): pass
descriptor for implementing context sensitive methods and registration of their implementations
class Example(Element): action = ContextualMethod() @action.implemented_for("db") def action(self): pass @action.implemented_for("test") def action(self): pass
-
delete¶ descriptor for implementing context sensitive methods and registration of their implementations
class Example(Element): action = ContextualMethod() @action.implemented_for("db") def action(self): pass @action.implemented_for("test") def action(self): pass
-
exists¶
-
generic_objects¶
-
update¶ descriptor for implementing context sensitive methods and registration of their implementations
class Example(Element): action = ContextualMethod() @action.implemented_for("db") def action(self): pass @action.implemented_for("test") def action(self): pass
-
-
class
cfme.generic_objects.definition.GenericObjectDefinitionCollection(parent, filters=NOTHING)[source]¶ Bases:
cfme.modeling.base.BaseCollection,sentaku.modeling.ElementMixin-
ENTITY¶ alias of
GenericObjectDefinition
-
__ge__(other)¶ Automatically created by attrs.
-
__gt__(other)¶ Automatically created by attrs.
-
__le__(other)¶ Automatically created by attrs.
-
__lt__(other)¶ Automatically created by attrs.
-
__ne__(other)¶ Check equality and either forward a NotImplemented or return the result negated.
-
__repr__()¶ Automatically created by attrs.
-
create¶ descriptor for implementing context sensitive methods and registration of their implementations
class Example(Element): action = ContextualMethod() @action.implemented_for("db") def action(self): pass @action.implemented_for("test") def action(self): pass
-