async def get(self,request_configuration: Optional[RequestConfiguration[RetentionEventTypesRequestBuilderGetQueryParameters]] = None) -> Optional[RetentionEventTypeCollectionResponse]:
        """
        Get a list of the retentionEventType objects and their properties.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[RetentionEventTypeCollectionResponse]
        Find more info here: https://learn.microsoft.com/graph/api/security-retentioneventtype-list?view=graph-rest-1.0
        """
        request_info = self.to_get_request_information(
            request_configuration
        )
        from ....models.o_data_errors.o_data_error import ODataError

        error_mapping: dict[str, type[ParsableFactory]] = {
            "XXX": ODataError,
        }
        if not self.request_adapter:
            raise Exception("Http core is null") 
        from ....models.security.retention_event_type_collection_response import RetentionEventTypeCollectionResponse

        return await self.request_adapter.send_async(request_info, RetentionEventTypeCollectionResponse, error_mapping)

        Get a list of the retentionEventType objects and their properties.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[RetentionEventTypeCollectionResponse]
        Find more info here: https://learn.microsoft.com/graph/api/security-retentioneventtype-list?view=graph-rest-1.0
        
msgraph/generated/security/trigger_types/retention_event_types/retention_event_types_request_builder.py