async def get(self,request_configuration: Optional[RequestConfiguration[DirectoryAuditsRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryAuditCollectionResponse]:
        """
        Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[DirectoryAuditCollectionResponse]
        Find more info here: https://learn.microsoft.com/graph/api/directoryaudit-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.directory_audit_collection_response import DirectoryAuditCollectionResponse

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

        Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[DirectoryAuditCollectionResponse]
        Find more info here: https://learn.microsoft.com/graph/api/directoryaudit-list?view=graph-rest-1.0
        
msgraph/generated/audit_logs/directory_audits/directory_audits_request_builder.py