Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.77 KB

File metadata and controls

37 lines (28 loc) · 1.77 KB

CreateRequestInfo

All the information needed for creating a request

Properties

Name Type Description Notes
resources List[CreateRequestInfoResourcesInner]
groups List[CreateRequestInfoGroupsInner]
target_user_id UUID The ID of the user to be granted access. Should not be specified if target_group_id is specified. [optional]
target_group_id UUID The ID of the group the request is for. Should not be specified if target_user_id is specified. [optional]
reason str
support_ticket CreateRequestInfoSupportTicket [optional]
duration_minutes int The duration of the request in minutes. -1 represents an indefinite duration
custom_metadata List[CreateRequestInfoCustomMetadataInner] [optional]

Example

from opal_security.models.create_request_info import CreateRequestInfo

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

# convert the object into a dict
create_request_info_dict = create_request_info_instance.to_dict()
# create an instance of CreateRequestInfo from a dict
create_request_info_from_dict = CreateRequestInfo.from_dict(create_request_info_dict)

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