PermissionType#

class PermissionType(value)#

Bases: object

A semantic OPC UA integer value with typed constants and equality.

Construct a semantic value from its native integer representation.

Parameters:

value (int)

Native numeric value or flag bits.

Returns:

object – The corresponding typed wrapper.

Examples

>>> from instro.opcua.types import AttributeId
>>> AttributeId(13) == AttributeId.VALUE
True

Attributes

ADD_NODE = PermissionType(65536)#
ADD_REFERENCE = PermissionType(8192)#
BROWSE = PermissionType(1)#
CALL = PermissionType(4096)#
DELETE_HISTORY = PermissionType(1024)#
DELETE_NODE = PermissionType(32768)#
INSERT_HISTORY = PermissionType(256)#
MODIFY_HISTORY = PermissionType(512)#
NONE = PermissionType(0)#
READ = PermissionType(32)#
READ_HISTORY = PermissionType(128)#
READ_ROLE_PERMISSIONS = PermissionType(2)#
RECEIVE_EVENTS = PermissionType(2048)#
REMOVE_REFERENCE = PermissionType(16384)#
WRITE = PermissionType(64)#
WRITE_ATTRIBUTE = PermissionType(4)#
WRITE_HISTORIZING = PermissionType(16)#
WRITE_ROLE_PERMISSIONS = PermissionType(8)#
is_add_node_set#
is_add_reference_set#
is_browse_set#
is_call_set#
is_delete_history_set#
is_delete_node_set#
is_insert_history_set#
is_modify_history_set#
is_read_history_set#
is_read_role_permissions_set#
is_read_set#
is_receive_events_set#
is_remove_reference_set#
is_write_attribute_set#
is_write_historizing_set#
is_write_role_permissions_set#
is_write_set#
value#