From 0954939977817af2d82b06dd87ea6383ec1790b9 Mon Sep 17 00:00:00 2001 From: lhhyung Date: Wed, 11 Dec 2024 15:22:38 +0900 Subject: [PATCH] refactor: Update field types in RegionUpdateRequest and RegionDeleteRequest Signed-off-by: lhhyung --- src/spaceone/inventory_v2/model/region/request.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/spaceone/inventory_v2/model/region/request.py b/src/spaceone/inventory_v2/model/region/request.py index 5a9e6b5..a61e747 100644 --- a/src/spaceone/inventory_v2/model/region/request.py +++ b/src/spaceone/inventory_v2/model/region/request.py @@ -25,15 +25,15 @@ class RegionCreateRequest(BaseModel): class RegionUpdateRequest(BaseModel): region_id: str - name: str = None + name: Union[str, None] = None tags: Union[dict, None] = None - workspace_id: Union[list, str, None] = None + workspace_id: Union[str, None] = None domain_id: str class RegionDeleteRequest(BaseModel): region_id: str - workspace_id: Union[list, str, None] = None + workspace_id: Union[str, None] = None domain_id: str