Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.49 KB

File metadata and controls

43 lines (34 loc) · 1.49 KB

Group

Group Serializer

Properties

Name Type Description Notes
pk UUID [readonly]
num_pk int [readonly]
name str
is_superuser bool Users added to this group will be superusers. [optional]
parents List[UUID] [optional]
parents_obj List[RelatedGroup] [readonly]
users List[int] [optional]
users_obj List[PartialUser] [readonly]
attributes Dict[str, object] [optional]
roles List[UUID] [optional]
roles_obj List[Role] [readonly]
inherited_roles_obj List[Role] [readonly]
children List[UUID] [readonly]
children_obj List[RelatedGroup] [readonly]

Example

from authentik_client.models.group import Group

# TODO update the JSON string below
json = "{}"
# create an instance of Group from a JSON string
group_instance = Group.from_json(json)
# print the JSON string representation of the object
print(Group.to_json())

# convert the object into a dict
group_dict = group_instance.to_dict()
# create an instance of Group from a dict
group_from_dict = Group.from_dict(group_dict)

[Back to Model list] [Back to API list] [Back to README]