From 8ee2be67d59b7ed18c83da89c02a0d4b2801fb8d Mon Sep 17 00:00:00 2001 From: Github Actions Date: Mon, 9 Sep 2024 16:38:57 +0000 Subject: [PATCH] PATCH: fix bimdata_elevation open api field type --- bimdata_api_client/api/collaboration_api.py | 2 +- bimdata_api_client/model/building.py | 4 ++-- bimdata_api_client/model/storey.py | 4 ++-- docs/Building.md | 2 +- docs/CollaborationApi.md | 4 ++-- docs/Storey.md | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/bimdata_api_client/api/collaboration_api.py b/bimdata_api_client/api/collaboration_api.py index 26efcb2..9665eb6 100644 --- a/bimdata_api_client/api/collaboration_api.py +++ b/bimdata_api_client/api/collaboration_api.py @@ -8860,7 +8860,7 @@ def create_document( ): """Create a document # noqa: E501 - Create a document. If the document is one of {'POINT_CLOUD', 'DXF', 'GLTF', 'DWG', 'IFC', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501 + Create a document. If the document is one of {'OBJ', 'GLTF', 'IFC', 'DXF', 'DWG', 'POINT_CLOUD'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/bimdata_api_client/model/building.py b/bimdata_api_client/model/building.py index dcc3069..40fdcd2 100644 --- a/bimdata_api_client/model/building.py +++ b/bimdata_api_client/model/building.py @@ -90,7 +90,7 @@ def openapi_types(): return { 'uuid': (str,), # noqa: E501 'name': (str,), # noqa: E501 - 'bimdata_elevation': (str,), # noqa: E501 + 'bimdata_elevation': (float,), # noqa: E501 'plans': ([ModelWithPositioningPlan],), # noqa: E501 'plans_unreachable_count': (int,), # noqa: E501 } @@ -126,7 +126,7 @@ def _from_openapi_data(cls, uuid, name, bimdata_elevation, plans, plans_unreacha Args: uuid (str): IFC element or element type UUID name (str): Name of the building - bimdata_elevation (str): Elevation computed by BIMData on storey's objects geometries. + bimdata_elevation (float): Elevation computed by BIMData on storey's objects geometries. plans ([ModelWithPositioningPlan]): plans_unreachable_count (int): diff --git a/bimdata_api_client/model/storey.py b/bimdata_api_client/model/storey.py index 678f79d..5546f77 100644 --- a/bimdata_api_client/model/storey.py +++ b/bimdata_api_client/model/storey.py @@ -90,7 +90,7 @@ def openapi_types(): return { 'uuid': (str,), # noqa: E501 'name': (str,), # noqa: E501 - 'bimdata_elevation': (str,), # noqa: E501 + 'bimdata_elevation': (float,), # noqa: E501 'plans': ([ModelWithPositioningPlan],), # noqa: E501 'plans_unreachable_count': (int,), # noqa: E501 } @@ -126,7 +126,7 @@ def _from_openapi_data(cls, uuid, name, bimdata_elevation, plans, plans_unreacha Args: uuid (str): IFC element or element type UUID name (str): Name of the storey - bimdata_elevation (str): Elevation computed by BIMData on storey's objects geometries. + bimdata_elevation (float): Elevation computed by BIMData on storey's objects geometries. plans ([ModelWithPositioningPlan]): plans_unreachable_count (int): diff --git a/docs/Building.md b/docs/Building.md index 3c6bea6..4754f57 100644 --- a/docs/Building.md +++ b/docs/Building.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **uuid** | **str** | IFC element or element type UUID | [readonly] **name** | **str** | Name of the building | [readonly] -**bimdata_elevation** | **str** | Elevation computed by BIMData on storey's objects geometries. | [readonly] +**bimdata_elevation** | **float** | Elevation computed by BIMData on storey's objects geometries. | [readonly] **plans** | [**[ModelWithPositioningPlan]**](ModelWithPositioningPlan.md) | | [readonly] **plans_unreachable_count** | **int** | | [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/CollaborationApi.md b/docs/CollaborationApi.md index 6d1c2d7..07b3749 100644 --- a/docs/CollaborationApi.md +++ b/docs/CollaborationApi.md @@ -1483,8 +1483,8 @@ with bimdata_api_client.ApiClient(configuration) as api_client: write_folder_request = [ WriteFolderRequest( default_permission=1, - parent_id=1, name="name_example", + parent_id=1, children=[ WriteFolderRequest(), ], @@ -1541,7 +1541,7 @@ Name | Type | Description | Notes Create a document -Create a document. If the document is one of {'POINT_CLOUD', 'DXF', 'GLTF', 'DWG', 'IFC', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write +Create a document. If the document is one of {'OBJ', 'GLTF', 'IFC', 'DXF', 'DWG', 'POINT_CLOUD'}, a model will be created and attached to this document Required scopes: document:write ### Example diff --git a/docs/Storey.md b/docs/Storey.md index af7c1c7..a5ac0cd 100644 --- a/docs/Storey.md +++ b/docs/Storey.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **uuid** | **str** | IFC element or element type UUID | [readonly] **name** | **str** | Name of the storey | [readonly] -**bimdata_elevation** | **str** | Elevation computed by BIMData on storey's objects geometries. | [readonly] +**bimdata_elevation** | **float** | Elevation computed by BIMData on storey's objects geometries. | [readonly] **plans** | [**[ModelWithPositioningPlan]**](ModelWithPositioningPlan.md) | | [readonly] **plans_unreachable_count** | **int** | | [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]