def get_audit_activity_types_with_category(self,category: str) -> GetAuditActivityTypesWithCategoryRequestBuilder:
        """
        Provides operations to call the getAuditActivityTypes method.
        param category: Usage: category='{category}'
        Returns: GetAuditActivityTypesWithCategoryRequestBuilder
        """
        if category is None:
            raise TypeError("category cannot be null.")
        from .get_audit_activity_types_with_category.get_audit_activity_types_with_category_request_builder import GetAuditActivityTypesWithCategoryRequestBuilder

        return GetAuditActivityTypesWithCategoryRequestBuilder(self.request_adapter, self.path_parameters, category)

        Provides operations to call the getAuditActivityTypes method.
        param category: Usage: category='{category}'
        Returns: GetAuditActivityTypesWithCategoryRequestBuilder
        
msgraph/generated/device_management/audit_events/audit_events_request_builder.py