Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.3 KB

ResourceUser.md

File metadata and controls

35 lines (26 loc) · 1.3 KB

ResourceUser

Resource User Object ### Description The ResourceUser object is used to represent a user with direct access to a resource.

Properties

Name Type Description Notes
resource_id str The ID of the resource.
user_id str The ID of the user.
access_level ResourceAccessLevel
full_name str The user's full name.
email str The user's email.
expiration_date datetime The day and time the user's access will expire. [optional]

Example

from opal_security.models.resource_user import ResourceUser

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

# convert the object into a dict
resource_user_dict = resource_user_instance.to_dict()
# create an instance of ResourceUser from a dict
resource_user_from_dict = ResourceUser.from_dict(resource_user_dict)

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