def by_user_experience_analytics_work_from_anywhere_device_id(self,user_experience_analytics_work_from_anywhere_device_id: str) -> UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder:
        """
        Provides operations to manage the metricDevices property of the microsoft.graph.userExperienceAnalyticsWorkFromAnywhereMetric entity.
        param user_experience_analytics_work_from_anywhere_device_id: The unique identifier of userExperienceAnalyticsWorkFromAnywhereDevice
        Returns: UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder
        """
        if user_experience_analytics_work_from_anywhere_device_id is None:
            raise TypeError("user_experience_analytics_work_from_anywhere_device_id cannot be null.")
        from .item.user_experience_analytics_work_from_anywhere_device_item_request_builder import UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["userExperienceAnalyticsWorkFromAnywhereDevice%2Did"] = user_experience_analytics_work_from_anywhere_device_id
        return UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the metricDevices property of the microsoft.graph.userExperienceAnalyticsWorkFromAnywhereMetric entity.
        param user_experience_analytics_work_from_anywhere_device_id: The unique identifier of userExperienceAnalyticsWorkFromAnywhereDevice
        Returns: UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder
        
msgraph/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/metric_devices/metric_devices_request_builder.py