All the information needed for creating a request
| 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] |
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)