Skip to content

Commit 1ec7339

Browse files
committed
PATCH: fix storey name open api
1 parent cedd983 commit 1ec7339

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

bimdata_api_client/api/collaboration_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8860,7 +8860,7 @@ def create_document(
88608860
):
88618861
"""Create a document # noqa: E501
88628862

8863-
Create a document. If the document is one of {'GLTF', 'DXF', 'DWG', 'IFC', 'OBJ', 'POINT_CLOUD'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
8863+
Create a document. If the document is one of {'DXF', 'OBJ', 'DWG', 'IFC', 'GLTF', 'POINT_CLOUD'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
88648864
This method makes a synchronous HTTP request by default. To make an
88658865
asynchronous HTTP request, please pass async_req=True
88668866

bimdata_api_client/model/building.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def openapi_types():
8989
lazy_import()
9090
return {
9191
'uuid': (str,), # noqa: E501
92-
'name': (str,), # noqa: E501
92+
'name': (str, none_type,), # noqa: E501
9393
'bimdata_elevation': (float, none_type,), # noqa: E501
9494
'plans': ([ModelWithPositioningPlan],), # noqa: E501
9595
'plans_unreachable_count': (int,), # noqa: E501
@@ -125,7 +125,7 @@ def _from_openapi_data(cls, uuid, name, bimdata_elevation, plans, plans_unreacha
125125
126126
Args:
127127
uuid (str): IFC element or element type UUID
128-
name (str): Name of the building
128+
name (str, none_type): Name of the building
129129
bimdata_elevation (float, none_type): Elevation computed by BIMData on storey's objects geometries.
130130
plans ([ModelWithPositioningPlan]):
131131
plans_unreachable_count (int):

bimdata_api_client/model/storey.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def openapi_types():
8989
lazy_import()
9090
return {
9191
'uuid': (str,), # noqa: E501
92-
'name': (str,), # noqa: E501
92+
'name': (str, none_type,), # noqa: E501
9393
'bimdata_elevation': (float, none_type,), # noqa: E501
9494
'plans': ([ModelWithPositioningPlan],), # noqa: E501
9595
'plans_unreachable_count': (int,), # noqa: E501
@@ -125,7 +125,7 @@ def _from_openapi_data(cls, uuid, name, bimdata_elevation, plans, plans_unreacha
125125
126126
Args:
127127
uuid (str): IFC element or element type UUID
128-
name (str): Name of the storey
128+
name (str, none_type): Name of the storey
129129
bimdata_elevation (float, none_type): Elevation computed by BIMData on storey's objects geometries.
130130
plans ([ModelWithPositioningPlan]):
131131
plans_unreachable_count (int):

docs/Building.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**uuid** | **str** | IFC element or element type UUID | [readonly]
8-
**name** | **str** | Name of the building | [readonly]
8+
**name** | **str, none_type** | Name of the building | [readonly]
99
**bimdata_elevation** | **float, none_type** | Elevation computed by BIMData on storey's objects geometries. | [readonly]
1010
**plans** | [**[ModelWithPositioningPlan]**](ModelWithPositioningPlan.md) | | [readonly]
1111
**plans_unreachable_count** | **int** | | [readonly]

docs/CollaborationApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ Name | Type | Description | Notes
15411541
15421542
Create a document
15431543

1544-
Create a document. If the document is one of {'GLTF', 'DXF', 'DWG', 'IFC', 'OBJ', 'POINT_CLOUD'}, a model will be created and attached to this document Required scopes: document:write
1544+
Create a document. If the document is one of {'DXF', 'OBJ', 'DWG', 'IFC', 'GLTF', 'POINT_CLOUD'}, a model will be created and attached to this document Required scopes: document:write
15451545

15461546
### Example
15471547

docs/Storey.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**uuid** | **str** | IFC element or element type UUID | [readonly]
8-
**name** | **str** | Name of the storey | [readonly]
8+
**name** | **str, none_type** | Name of the storey | [readonly]
99
**bimdata_elevation** | **float, none_type** | Elevation computed by BIMData on storey's objects geometries. | [readonly]
1010
**plans** | [**[ModelWithPositioningPlan]**](ModelWithPositioningPlan.md) | | [readonly]
1111
**plans_unreachable_count** | **int** | | [readonly]

0 commit comments

Comments
 (0)