Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.38 KB

File metadata and controls

42 lines (33 loc) · 1.38 KB

Group

Group Serializer

Properties

Name Type Description Notes
pk str [readonly]
num_pk int [readonly]
name str
is_superuser bool Users added to this group will be superusers. [optional]
parent str [optional]
parent_name str [readonly]
users List[int] [optional]
users_obj List[PartialUser] [readonly]
attributes Dict[str, object] [optional]
roles List[str] [optional]
roles_obj List[Role] [readonly]
children List[str] [optional]
children_obj List[GroupChild] [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]