Skip to content

Commit

Permalink
PATCH: fix bimdata_elevation open api field type
Browse files Browse the repository at this point in the history
  • Loading branch information
Bimdata-io committed Sep 9, 2024
1 parent 0740d85 commit 8ee2be6
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 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 {'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

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 @@ -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
}
Expand Down Expand Up @@ -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):
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 @@ -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
}
Expand Down Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion docs/Building.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions docs/CollaborationApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
],
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/Storey.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 8ee2be6

Please sign in to comment.