def summarize_device_performance_devices_with_summarize_by(self,summarize_by: str) -> SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder:
        """
        Provides operations to call the summarizeDevicePerformanceDevices method.
        param summarize_by: Usage: summarizeBy='{summarizeBy}'
        Returns: SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder
        """
        if summarize_by is None:
            raise TypeError("summarize_by cannot be null.")
        from .summarize_device_performance_devices_with_summarize_by.summarize_device_performance_devices_with_summarize_by_request_builder import SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder

        return SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder(self.request_adapter, self.path_parameters, summarize_by)

        Provides operations to call the summarizeDevicePerformanceDevices method.
        param summarize_by: Usage: summarizeBy='{summarizeBy}'
        Returns: SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder
        
msgraph/generated/device_management/user_experience_analytics_device_performance/user_experience_analytics_device_performance_request_builder.py