You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
fromopal_security.models.delegationimportDelegation# TODO update the JSON string belowjson="{}"# create an instance of Delegation from a JSON stringdelegation_instance=Delegation.from_json(json)
# print the JSON string representation of the objectprint(Delegation.to_json())
# convert the object into a dictdelegation_dict=delegation_instance.to_dict()
# create an instance of Delegation from a dictdelegation_from_dict=Delegation.from_dict(delegation_dict)