Role#
- class Role(display_name=None, description=None, client_name=None, operations=None, accessible_clients=None, accessible_object_types=None, created_time=None, last_updated_time=None, created_by=None, is_system_defined=True, ext_id=None, links=None, tenant_id=None, *args, **kwargs)[source]#
Bases:
ExternalizableAbstractModel
A role to group the operations and/or sub roles
- Parameters:
display_name – (
display_name
) The display name for the roledescription – (
description
) Description of the roleclient_name – (
client_name
) Client that created the roleoperations – (
operations
) List of operations for the roleaccessible_clients – (
accessible_clients
) List of accessible clients for the roleaccessible_object_types – (
accessible_object_types
) List of Accessible ObjectTypes for the rolecreated_time – (
created_time
) The creation time of the rolelast_updated_time – (
last_updated_time
) The time when the role was last updatedcreated_by – (
created_by
) User or service name that created the roleis_system_defined – (
is_system_defined
) Flag identifying if the role is system defined or not (Default True)
- property accessible_clients#
List of accessible clients for the role
- Type:
list[
str
]
- property accessible_object_types#
List of Accessible ObjectTypes for the role
- Type:
list[
str
]
- property client_name#
Client that created the role
- Type:
str
- property created_by#
User or service name that created the role
- Type:
str
- property created_time#
The creation time of the role
- Type:
datetime
- property description#
Description of the role
- Type:
str
- property display_name#
The display name for the role
- Type:
str
- property is_system_defined#
Flag identifying if the role is system defined or not
- Type:
bool
- property last_updated_time#
The time when the role was last updated
- Type:
datetime
- property operations#
List of operations for the role
- Type:
list[
str
]