A collect of permissions that the user has to a resource.
Name | Type | Description | Notes |
---|---|---|---|
account | PermissionCollectionAccount | [optional] | |
user_id | str | ||
permissions | List[PermissionObject] | A list of the permissions |
from authress.models.permission_collection import PermissionCollection
json = "{}"
# create an instance of PermissionCollection from a JSON string
permission_collection_instance = PermissionCollection.from_json(json)
# print the JSON string representation of the object
print PermissionCollection.to_json()
# convert the object into a dict
permission_collection_dict = permission_collection_instance.to_dict()
# create an instance of PermissionCollection from a dict
permission_collection_from_dict = PermissionCollection.from_dict(permission_collection_dict)