diff --git a/bimdata_api_client/api/collaboration_api.py b/bimdata_api_client/api/collaboration_api.py index 9665eb6..354e529 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 {'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 diff --git a/bimdata_api_client/model/building.py b/bimdata_api_client/model/building.py index 40fdcd2..a5ca7d7 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': (float,), # noqa: E501 + 'bimdata_elevation': (float, none_type,), # 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 (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): diff --git a/bimdata_api_client/model/storey.py b/bimdata_api_client/model/storey.py index 5546f77..7c5aea9 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': (float,), # noqa: E501 + 'bimdata_elevation': (float, none_type,), # 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 (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): diff --git a/bimdata_api_client/model/write_folder_request.py b/bimdata_api_client/model/write_folder_request.py index 3f4caff..c115ba1 100644 --- a/bimdata_api_client/model/write_folder_request.py +++ b/bimdata_api_client/model/write_folder_request.py @@ -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 } @@ -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 } @@ -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 """ @@ -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 """ diff --git a/docs/Building.md b/docs/Building.md index 4754f57..a949dfd 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** | **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] diff --git a/docs/CollaborationApi.md b/docs/CollaborationApi.md index 07b3749..9ad53b1 100644 --- a/docs/CollaborationApi.md +++ b/docs/CollaborationApi.md @@ -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(), ], @@ -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 diff --git a/docs/Storey.md b/docs/Storey.md index a5ac0cd..c9819ba 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** | **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] diff --git a/docs/WriteFolderRequest.md b/docs/WriteFolderRequest.md index bb1c73a..04415e6 100644 --- a/docs/WriteFolderRequest.md +++ b/docs/WriteFolderRequest.md @@ -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]