1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
.. _str: https://docs.python.org/2/library/stdtypes.html
.. _object: https://docs.python.org/2/library/stdtypes.html
.. _vmodl.DynamicData: ../../../vmodl/DynamicData.rst
.. _vmodl.query.PropertyCollector.Change.Op: ../../../vmodl/query/PropertyCollector/Change/Op.rst
vmodl.query.PropertyCollector.Change
====================================
Describes a change to a property.
:extends: vmodl.DynamicData_
Attributes:
name (`str`_):
Property or nested property to which the change applies. Nested properties are specified by paths; for example,
* foo.bar
* foo.arProp["key val"]
* foo.arProp["key val"].baz
*
op (`vmodl.query.PropertyCollector.Change.Op`_):
Change operation for the property. Valid values are:addThe property is a collection and the change inserts an element into the collection.removeThe property is a collection and the change deletes an element from the collection.assignThe change is a new value for the property.indirectRemoveThe property was removed because a containing property was removed or unset
val (`object`_, optional):
New value for the property when "op" is either "add" or "assign".
|