Skip to content

Commit

Permalink
PATCH: bimdata_elevation response can be null
Browse files Browse the repository at this point in the history
  • Loading branch information
Bimdata-io committed Sep 9, 2024
1 parent ed9a77d commit a367be3
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 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 {'OBJ', 'GLTF', 'IFC', 'DXF', 'DWG', '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 {'GLTF', 'DXF', 'DWG', 'IFC', 'OBJ', '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': (float,), # noqa: E501
'bimdata_elevation': (float, none_type,), # 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 (float): Elevation computed by BIMData on storey's objects geometries.
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 @@ -90,7 +90,7 @@ def openapi_types():
return {
'uuid': (str,), # noqa: E501
'name': (str,), # noqa: E501
'bimdata_elevation': (float,), # noqa: E501
'bimdata_elevation': (float, none_type,), # 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 (float): Elevation computed by BIMData on storey's objects geometries.
bimdata_elevation (float, none_type): Elevation computed by BIMData on storey's objects geometries.
plans ([ModelWithPositioningPlan]):
plans_unreachable_count (int):
Expand Down
8 changes: 4 additions & 4 deletions bimdata_api_client/model/write_folder_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ def openapi_types():
"""
return {
'name': (str,), # noqa: E501
'default_permission': (int,), # noqa: E501
'parent_id': (int, none_type,), # noqa: E501
'default_permission': (int,), # noqa: E501
'children': ([WriteFolderRequest], none_type,), # noqa: E501
}

Expand All @@ -108,8 +108,8 @@ def discriminator():

attribute_map = {
'name': 'name', # noqa: E501
'default_permission': 'default_permission', # noqa: E501
'parent_id': 'parent_id', # noqa: E501
'default_permission': 'default_permission', # noqa: E501
'children': 'children', # noqa: E501
}

Expand Down Expand Up @@ -157,8 +157,8 @@ def _from_openapi_data(cls, name, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
default_permission (int): Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write. [optional] # noqa: E501
parent_id (int, none_type): [optional] # noqa: E501
default_permission (int): Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write. [optional] # noqa: E501
children ([WriteFolderRequest], none_type): [optional] # noqa: E501
"""

Expand Down Expand Up @@ -245,8 +245,8 @@ def __init__(self, name, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
default_permission (int): Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write. [optional] # noqa: E501
parent_id (int, none_type): [optional] # noqa: E501
default_permission (int): Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write. [optional] # noqa: E501
children ([WriteFolderRequest], none_type): [optional] # noqa: E501
"""

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** | **float** | Elevation computed by BIMData on storey's objects geometries. | [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]
**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
6 changes: 3 additions & 3 deletions docs/CollaborationApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1482,9 +1482,9 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
id = 1 # int | A unique integer value identifying this project.
write_folder_request = [
WriteFolderRequest(
default_permission=1,
name="name_example",
parent_id=1,
name="name_example",
default_permission=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 {'OBJ', 'GLTF', 'IFC', 'DXF', 'DWG', '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 {'GLTF', 'DXF', 'DWG', 'IFC', 'OBJ', '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** | **float** | Elevation computed by BIMData on storey's objects geometries. | [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]
**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
2 changes: 1 addition & 1 deletion docs/WriteFolderRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | Name of the folder |
**default_permission** | **int** | Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write | [optional]
**parent_id** | **int, none_type** | | [optional]
**default_permission** | **int** | Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write | [optional]
**children** | [**[WriteFolderRequest], none_type**](WriteFolderRequest.md) | | [optional]
**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 a367be3

Please sign in to comment.