async def patch(self,body: DeviceComplianceUserOverview, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceComplianceUserOverview]:
        """
        Update the properties of a deviceComplianceUserOverview object.
        param body: The request body
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[DeviceComplianceUserOverview]
        Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceuseroverview-update?view=graph-rest-1.0
        """
        if body is None:
            raise TypeError("body cannot be null.")
        request_info = self.to_patch_request_information(
            body, 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.device_compliance_user_overview import DeviceComplianceUserOverview

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

        Update the properties of a deviceComplianceUserOverview object.
        param body: The request body
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[DeviceComplianceUserOverview]
        Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceuseroverview-update?view=graph-rest-1.0
        
msgraph/generated/device_management/device_compliance_policies/item/user_status_overview/user_status_overview_request_builder.py