def create_from_discriminator_value(parse_node: ParseNode) -> SummarizeDevicePerformanceDevicesWithSummarizeByGetResponse:
        """
        Creates a new instance of the appropriate class based on discriminator value
        param parse_node: The parse node to use to read the discriminator value and create the object
        Returns: SummarizeDevicePerformanceDevicesWithSummarizeByGetResponse
        """
        if parse_node is None:
            raise TypeError("parse_node cannot be null.")
        return SummarizeDevicePerformanceDevicesWithSummarizeByGetResponse()

        Creates a new instance of the appropriate class based on discriminator value
        param parse_node: The parse node to use to read the discriminator value and create the object
        Returns: SummarizeDevicePerformanceDevicesWithSummarizeByGetResponse
        
msgraph/generated/device_management/user_experience_analytics_device_performance/summarize_device_performance_devices_with_summarize_by/summarize_device_performance_devices_with_summarize_by_get_response.py