Skip to content

Commit ce53acf

Browse files
committed
PATCH: fix get-dms-tree serializer
1 parent 11375fb commit ce53acf

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

bimdata_api_client/api/collaboration_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7686,7 +7686,7 @@ def create_document(
76867686
):
76877687
"""Create a document # noqa: E501
76887688

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

bimdata_api_client/model/recursive_folder_children.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ def openapi_types():
145145
'tags': ([Tag], none_type,), # noqa: E501
146146
'created_by': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501
147147
'creator': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501
148-
'file_name': (str,), # noqa: E501
149-
'description': (str,), # noqa: E501
150-
'size': (int,), # noqa: E501
151-
'file': (str,), # noqa: E501
148+
'file_name': (str, none_type,), # noqa: E501
149+
'description': (str, none_type,), # noqa: E501
150+
'size': (int, none_type,), # noqa: E501
151+
'file': (str, none_type,), # noqa: E501
152152
'children': ([RecursiveFolderChildren], none_type,), # noqa: E501
153153
}
154154

@@ -253,10 +253,10 @@ def _from_openapi_data(cls, id, parent_id, type, nature, model_type, name, creat
253253
_visited_composed_classes = (Animal,)
254254
created_by (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
255255
creator (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
256-
file_name (str): [optional] # noqa: E501
257-
description (str): [optional] # noqa: E501
258-
size (int): [optional] # noqa: E501
259-
file (str): [optional] # noqa: E501
256+
file_name (str, none_type): [optional] # noqa: E501
257+
description (str, none_type): [optional] # noqa: E501
258+
size (int, none_type): [optional] # noqa: E501
259+
file (str, none_type): [optional] # noqa: E501
260260
children ([RecursiveFolderChildren], none_type): [optional] # noqa: E501
261261
"""
262262

@@ -361,10 +361,10 @@ def __init__(self, id, name, created_at, updated_at, *args, **kwargs): # noqa:
361361
_visited_composed_classes = (Animal,)
362362
created_by (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
363363
creator (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
364-
file_name (str): [optional] # noqa: E501
365-
description (str): [optional] # noqa: E501
366-
size (int): [optional] # noqa: E501
367-
file (str): [optional] # noqa: E501
364+
file_name (str, none_type): [optional] # noqa: E501
365+
description (str, none_type): [optional] # noqa: E501
366+
size (int, none_type): [optional] # noqa: E501
367+
file (str, none_type): [optional] # noqa: E501
368368
children ([RecursiveFolderChildren], none_type): [optional] # noqa: E501
369369
"""
370370

docs/CollaborationApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ void (empty response body)
13091309
13101310
Create a document
13111311

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

13141314
### Example
13151315

docs/RecursiveFolderChildren.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ Name | Type | Description | Notes
2121
**tags** | [**[Tag], none_type**](Tag.md) | Tags of a document | [readonly]
2222
**created_by** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]
2323
**creator** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]
24-
**file_name** | **str** | | [optional]
25-
**description** | **str** | | [optional]
26-
**size** | **int** | | [optional]
27-
**file** | **str** | | [optional]
24+
**file_name** | **str, none_type** | | [optional]
25+
**description** | **str, none_type** | | [optional]
26+
**size** | **int, none_type** | | [optional]
27+
**file** | **str, none_type** | | [optional]
2828
**children** | [**[RecursiveFolderChildren], none_type**](RecursiveFolderChildren.md) | | [optional]
2929
**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]
3030

0 commit comments

Comments
 (0)