Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.65 KB

File metadata and controls

38 lines (29 loc) · 1.65 KB

ExtraUserObjectPermission

User permission with additional object-related data

Properties

Name Type Description Notes
id int [readonly]
codename str [readonly]
model str [readonly]
app_label str [readonly]
object_pk str
name str [readonly]
app_label_verbose str Get app label from permission's model [readonly]
model_verbose str Get model label from permission's model [readonly]
object_description str Get model description from attached model. This operation takes at least one additional query, and the description is only shown if the user/role has the view_ permission on the object [readonly]

Example

from authentik_client.models.extra_user_object_permission import ExtraUserObjectPermission

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

# convert the object into a dict
extra_user_object_permission_dict = extra_user_object_permission_instance.to_dict()
# create an instance of ExtraUserObjectPermission from a dict
extra_user_object_permission_from_dict = ExtraUserObjectPermission.from_dict(extra_user_object_permission_dict)

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