Permission represents a set of permissions
Name | Type | Description | Notes |
---|---|---|---|
admin | bool | [optional] | |
pull | bool | [optional] | |
push | bool | [optional] |
from clientapi_forgejo.models.permission import Permission
# TODO update the JSON string below
json = "{}"
# create an instance of Permission from a JSON string
permission_instance = Permission.from_json(json)
# print the JSON string representation of the object
print(Permission.to_json())
# convert the object into a dict
permission_dict = permission_instance.to_dict()
# create an instance of Permission from a dict
permission_from_dict = Permission.from_dict(permission_dict)