Role#

class Role(description=None, operations=None, accessible_clients=None, accessible_entity_types=None, accessible_clients_count=None, accessible_entity_types_count=None, assigned_users_count=None, assigned_user_groups_count=None, created_time=None, last_updated_time=None, created_by=None, is_system_defined=True, display_name=None, client_name=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: BaseRole

A role to group the operations.

Parameters:
property accessible_clients#

List of acessible clients for the role.

Type:

list[ str ]

property accessible_clients_count#

Count of accessible clients for the role.

Type:

int

property accessible_entity_types#

List of accessible entity types for the role.

Type:

list[ str ]

property accessible_entity_types_count#

Count of accessible entity types for the role.

Type:

int

property assigned_user_groups_count#

Number of user groups assigned to the given role.

Type:

int

property assigned_users_count#

Number of users assigned to the given role.

Type:

int

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 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 ]

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model