async def patch(self,body: MobileContainedApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileContainedApp]:
        """
        Update the navigation property containedApps in deviceAppManagement
        param body: The request body
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[MobileContainedApp]
        """
        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.mobile_contained_app import MobileContainedApp

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

        Update the navigation property containedApps in deviceAppManagement
        param body: The request body
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[MobileContainedApp]
        
msgraph/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py