# Event Models#

class anchorpoint.Source(value: int)#

Members:

You : The change was made by yourself

Action : The change was made by an action on your machine

Other : The change was made by someone else

class anchorpoint.AttributeChange#

Represents a value change of an attribute called name. Access the old_value and the new value. Using the type property you can check the type of the attribute (e.g. single_choice_tag). The source value can be used to identify the source of the trigger:

• You: The change was made by yourself

• Action: The change was made by an action on your machine

• Other: The change was made by someone else

For Other, you can check the client_name (see set_client_name()) with source_value

path#

The path of the object the attribute was changed for

Type

str

object_type#

The type of the object

Type

apsync.ObjectType

name#

The name of the Attribute

Type

str

type#

The type of the attribute

Type

apsync.AttributeType

value#

The new value of the attribute

Type

object

old_value#

The old value of the attribute

Type

object

source#

The source of the change

Type

anchorpoint.Source

source_value#

The client_name of the Other source, if any

Type

str