Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.4 KB

File metadata and controls

34 lines (25 loc) · 1.4 KB

CreateDelegationRequest

Request body for creating a new delegation of access review requests from one user to another.

Properties

Name Type Description Notes
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.

Example

from opal_security.models.create_delegation_request import CreateDelegationRequest

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

# convert the object into a dict
create_delegation_request_dict = create_delegation_request_instance.to_dict()
# create an instance of CreateDelegationRequest from a dict
create_delegation_request_from_dict = CreateDelegationRequest.from_dict(create_delegation_request_dict)

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