diff --git a/src/gvm_sync_targets/models/__init__.py b/src/gvm_sync_targets/models/__init__.py index 4cc2ec6..17ab03e 100644 --- a/src/gvm_sync_targets/models/__init__.py +++ b/src/gvm_sync_targets/models/__init__.py @@ -7,7 +7,10 @@ from gvm.transforms import EtreeCheckCommandTransform -from gvm_sync_targets.models.assets_response import GetAssetsResponse +from gvm_sync_targets.models.assets_response import ( + DeleteAssetResponse, + GetAssetsResponse, +) from gvm_sync_targets.models.auth_response import AuthenticateResponse from gvm_sync_targets.models.response import Response from gvm_sync_targets.util import Element @@ -15,6 +18,7 @@ _MODEL_MAP: Mapping[str, type[Response]] = { "get_assets_response": GetAssetsResponse, "authenticate_response": AuthenticateResponse, + "delete_asset_response": DeleteAssetResponse, } diff --git a/src/gvm_sync_targets/models/assets_response.py b/src/gvm_sync_targets/models/assets_response.py index b6e44fb..5338f5c 100644 --- a/src/gvm_sync_targets/models/assets_response.py +++ b/src/gvm_sync_targets/models/assets_response.py @@ -134,3 +134,7 @@ class GetAssetsResponse(Response, tag="get_assets_response"): sort: Sort pagination: Pagination = element("assets") asset_count: AssetCount + + +class DeleteAssetResponse(Response, tag="delete_asset_response"): + pass