A collect of permissions that the user has to a resource.
Name | Type | Description | Notes |
---|---|---|---|
account | PermissionCollectionAccount | [optional] | |
user_id | str | ||
resources | List[Resource] | A list of the resources the user has some permission to. | [optional] |
pagination | Pagination | [optional] | |
links | CollectionLinks |
from authress.models.user_resources_collection import UserResourcesCollection
json = "{}"
# create an instance of UserResourcesCollection from a JSON string
user_resources_collection_instance = UserResourcesCollection.from_json(json)
# print the JSON string representation of the object
print UserResourcesCollection.to_json()
# convert the object into a dict
user_resources_collection_dict = user_resources_collection_instance.to_dict()
# create an instance of UserResourcesCollection from a dict
user_resources_collection_from_dict = UserResourcesCollection.from_dict(user_resources_collection_dict)