property_operation Property

This property shows the operation to perform on a property when calling PatchProperties .

Syntax

def get_property_operation(property_index: int) -> int: ...
def set_property_operation(property_index: int, value: int) -> None: ...

Default Value

0

Remarks

This property shows the operation to perform on a property when calling on_patch_properties.

This is used when the class sends a property patch request to the server. When a call is made to on_patch_properties, the class will use the property_operation to tell the server what to do under the following scheme:

opNone (0)No operation will be performed on the property.
opSet (1)The value of property_name will be set to property_value.
opDelete (2)The property defined by property_name will be removed from its resource.

The property_index parameter specifies the index of the item in the array. The size of the array is controlled by the property_count property.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8161]