Skip to content

Commit

Permalink
PATCH: fix storey name open api
Browse files Browse the repository at this point in the history
  • Loading branch information
Bimdata-io committed Sep 9, 2024
1 parent cedd983 commit 1ec7339
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bimdata_api_client/api/collaboration_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -8860,7 +8860,7 @@ def create_document(
):
"""Create a document # noqa: E501

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
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
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

Expand Down
4 changes: 2 additions & 2 deletions bimdata_api_client/model/building.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def openapi_types():
lazy_import()
return {
'uuid': (str,), # noqa: E501
'name': (str,), # noqa: E501
'name': (str, none_type,), # noqa: E501
'bimdata_elevation': (float, none_type,), # noqa: E501
'plans': ([ModelWithPositioningPlan],), # noqa: E501
'plans_unreachable_count': (int,), # noqa: E501
Expand Down Expand Up @@ -125,7 +125,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
name (str, none_type): Name of the building
bimdata_elevation (float, none_type): Elevation computed by BIMData on storey's objects geometries.
plans ([ModelWithPositioningPlan]):
plans_unreachable_count (int):
Expand Down
4 changes: 2 additions & 2 deletions bimdata_api_client/model/storey.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def openapi_types():
lazy_import()
return {
'uuid': (str,), # noqa: E501
'name': (str,), # noqa: E501
'name': (str, none_type,), # noqa: E501
'bimdata_elevation': (float, none_type,), # noqa: E501
'plans': ([ModelWithPositioningPlan],), # noqa: E501
'plans_unreachable_count': (int,), # noqa: E501
Expand Down Expand Up @@ -125,7 +125,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
name (str, none_type): Name of the storey
bimdata_elevation (float, none_type): Elevation computed by BIMData on storey's objects geometries.
plans ([ModelWithPositioningPlan]):
plans_unreachable_count (int):
Expand Down
2 changes: 1 addition & 1 deletion docs/Building.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**uuid** | **str** | IFC element or element type UUID | [readonly]
**name** | **str** | Name of the building | [readonly]
**name** | **str, none_type** | Name of the building | [readonly]
**bimdata_elevation** | **float, none_type** | Elevation computed by BIMData on storey's objects geometries. | [readonly]
**plans** | [**[ModelWithPositioningPlan]**](ModelWithPositioningPlan.md) | | [readonly]
**plans_unreachable_count** | **int** | | [readonly]
Expand Down
2 changes: 1 addition & 1 deletion docs/CollaborationApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1541,7 +1541,7 @@ Name | Type | Description | Notes

Create a document

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
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

### Example

Expand Down
2 changes: 1 addition & 1 deletion docs/Storey.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**uuid** | **str** | IFC element or element type UUID | [readonly]
**name** | **str** | Name of the storey | [readonly]
**name** | **str, none_type** | Name of the storey | [readonly]
**bimdata_elevation** | **float, none_type** | Elevation computed by BIMData on storey's objects geometries. | [readonly]
**plans** | [**[ModelWithPositioningPlan]**](ModelWithPositioningPlan.md) | | [readonly]
**plans_unreachable_count** | **int** | | [readonly]
Expand Down

0 comments on commit 1ec7339

Please sign in to comment.