Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.56 KB

File metadata and controls

37 lines (28 loc) · 1.56 KB

Delegation

Delegation Object ### Description The Delegation object represents a delegation of access review requests from one user to another. ### Usage Example List from the GET Delegations endpoint. Get from the GET Delegation endpoint.

Properties

Name Type Description Notes
id UUID The ID of the delegation.
delegator_user_id UUID The ID of the user delegating their access review requests.
delegate_user_id UUID The ID of the user being delegated to.
start_time datetime The start time of the delegation.
end_time datetime The end time of the delegation.
reason str The reason for the delegation.
created_at datetime The creation time of the delegation.
updated_at datetime The last updated time of the delegation.

Example

from opal_security.models.delegation import Delegation

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

# convert the object into a dict
delegation_dict = delegation_instance.to_dict()
# create an instance of Delegation from a dict
delegation_from_dict = Delegation.from_dict(delegation_dict)

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