Child Operation Model¶
-
class
maproulette.models.child_operation.
ChildOperationModel
(operation=None, data=None)¶ Bases:
object
-
property
data
¶ Either a dict (key/value pair) of a tag/tags to be set in a ‘setTags’ operation, or an array of tag keys (as strings) to be deleted in a deleteTags operation
-
property
operation
¶ The operation to be applied to the OSM object (‘setTags’, ‘deleteTags’)
-
to_dict
()¶
-
to_json
()¶ Converts all non-null properties of a child operation object into a JSON object
-
property