Skip to content

Commit 03903e7

Browse files
committed
PATCH: fix create building and storey doc serializer
1 parent c8f6d93 commit 03903e7

37 files changed

Lines changed: 994 additions & 238 deletions

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,10 @@ Class | Method | HTTP request | Description
633633
- [InlineObject1](docs/InlineObject1.md)
634634
- [InlineObject10](docs/InlineObject10.md)
635635
- [InlineObject11](docs/InlineObject11.md)
636+
- [InlineObject12](docs/InlineObject12.md)
637+
- [InlineObject13](docs/InlineObject13.md)
638+
- [InlineObject14](docs/InlineObject14.md)
639+
- [InlineObject15](docs/InlineObject15.md)
636640
- [InlineObject2](docs/InlineObject2.md)
637641
- [InlineObject3](docs/InlineObject3.md)
638642
- [InlineObject4](docs/InlineObject4.md)
@@ -643,7 +647,7 @@ Class | Method | HTTP request | Description
643647
- [InlineObject9](docs/InlineObject9.md)
644648
- [InlineResponse200](docs/InlineResponse200.md)
645649
- [InlineResponse2001](docs/InlineResponse2001.md)
646-
- [InlineResponse2002](docs/InlineResponse2002.md)
650+
- [InlineResponse201](docs/InlineResponse201.md)
647651
- [Invitation](docs/Invitation.md)
648652
- [Label](docs/Label.md)
649653
- [LabelRead](docs/LabelRead.md)

bimdata_api_client/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@
7575
from bimdata_api_client.models.inline_object1 import InlineObject1
7676
from bimdata_api_client.models.inline_object10 import InlineObject10
7777
from bimdata_api_client.models.inline_object11 import InlineObject11
78+
from bimdata_api_client.models.inline_object12 import InlineObject12
79+
from bimdata_api_client.models.inline_object13 import InlineObject13
80+
from bimdata_api_client.models.inline_object14 import InlineObject14
81+
from bimdata_api_client.models.inline_object15 import InlineObject15
7882
from bimdata_api_client.models.inline_object2 import InlineObject2
7983
from bimdata_api_client.models.inline_object3 import InlineObject3
8084
from bimdata_api_client.models.inline_object4 import InlineObject4
@@ -85,7 +89,7 @@
8589
from bimdata_api_client.models.inline_object9 import InlineObject9
8690
from bimdata_api_client.models.inline_response200 import InlineResponse200
8791
from bimdata_api_client.models.inline_response2001 import InlineResponse2001
88-
from bimdata_api_client.models.inline_response2002 import InlineResponse2002
92+
from bimdata_api_client.models.inline_response201 import InlineResponse201
8993
from bimdata_api_client.models.invitation import Invitation
9094
from bimdata_api_client.models.label import Label
9195
from bimdata_api_client.models.label_read import LabelRead

bimdata_api_client/api/ifc_api.py

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2062,15 +2062,15 @@ def create_building_deprecated(self, cloud_pk, ifc_pk, project_pk, data, **kwarg
20622062
:param str cloud_pk: (required)
20632063
:param str ifc_pk: (required)
20642064
:param str project_pk: (required)
2065-
:param Building data: (required)
2065+
:param InlineObject4 data: (required)
20662066
:param _preload_content: if False, the urllib3.HTTPResponse object will
20672067
be returned without reading/decoding response
20682068
data. Default is True.
20692069
:param _request_timeout: timeout setting for this request. If one
20702070
number provided, it will be total request
20712071
timeout. It can also be a pair (tuple) of
20722072
(connection, read) timeouts.
2073-
:return: Building
2073+
:return: InlineResponse201
20742074
If the method is called asynchronously,
20752075
returns the request thread.
20762076
"""
@@ -2090,7 +2090,7 @@ def create_building_deprecated_with_http_info(self, cloud_pk, ifc_pk, project_pk
20902090
:param str cloud_pk: (required)
20912091
:param str ifc_pk: (required)
20922092
:param str project_pk: (required)
2093-
:param Building data: (required)
2093+
:param InlineObject4 data: (required)
20942094
:param _return_http_data_only: response data without head status code
20952095
and headers
20962096
:param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -2100,7 +2100,7 @@ def create_building_deprecated_with_http_info(self, cloud_pk, ifc_pk, project_pk
21002100
number provided, it will be total request
21012101
timeout. It can also be a pair (tuple) of
21022102
(connection, read) timeouts.
2103-
:return: tuple(Building, status_code(int), headers(HTTPHeaderDict))
2103+
:return: tuple(InlineResponse201, status_code(int), headers(HTTPHeaderDict))
21042104
If the method is called asynchronously,
21052105
returns the request thread.
21062106
"""
@@ -2186,7 +2186,7 @@ def create_building_deprecated_with_http_info(self, cloud_pk, ifc_pk, project_pk
21862186
body=body_params,
21872187
post_params=form_params,
21882188
files=local_var_files,
2189-
response_type='Building', # noqa: E501
2189+
response_type='InlineResponse201', # noqa: E501
21902190
auth_settings=auth_settings,
21912191
async_req=local_var_params.get('async_req'),
21922192
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -2208,7 +2208,7 @@ def create_building_plan_deprecated(self, building_uuid, cloud_pk, ifc_pk, proje
22082208
:param str cloud_pk: (required)
22092209
:param str ifc_pk: (required)
22102210
:param str project_pk: (required)
2211-
:param InlineObject4 data: (required)
2211+
:param InlineObject5 data: (required)
22122212
:param _preload_content: if False, the urllib3.HTTPResponse object will
22132213
be returned without reading/decoding response
22142214
data. Default is True.
@@ -2237,7 +2237,7 @@ def create_building_plan_deprecated_with_http_info(self, building_uuid, cloud_pk
22372237
:param str cloud_pk: (required)
22382238
:param str ifc_pk: (required)
22392239
:param str project_pk: (required)
2240-
:param InlineObject4 data: (required)
2240+
:param InlineObject5 data: (required)
22412241
:param _return_http_data_only: response data without head status code
22422242
and headers
22432243
:param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -5049,15 +5049,15 @@ def create_storey_deprecated(self, cloud_pk, ifc_pk, project_pk, data, **kwargs)
50495049
:param str cloud_pk: (required)
50505050
:param str ifc_pk: (required)
50515051
:param str project_pk: (required)
5052-
:param Storey data: (required)
5052+
:param InlineObject7 data: (required)
50535053
:param _preload_content: if False, the urllib3.HTTPResponse object will
50545054
be returned without reading/decoding response
50555055
data. Default is True.
50565056
:param _request_timeout: timeout setting for this request. If one
50575057
number provided, it will be total request
50585058
timeout. It can also be a pair (tuple) of
50595059
(connection, read) timeouts.
5060-
:return: Storey
5060+
:return: InlineResponse201
50615061
If the method is called asynchronously,
50625062
returns the request thread.
50635063
"""
@@ -5077,7 +5077,7 @@ def create_storey_deprecated_with_http_info(self, cloud_pk, ifc_pk, project_pk,
50775077
:param str cloud_pk: (required)
50785078
:param str ifc_pk: (required)
50795079
:param str project_pk: (required)
5080-
:param Storey data: (required)
5080+
:param InlineObject7 data: (required)
50815081
:param _return_http_data_only: response data without head status code
50825082
and headers
50835083
:param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -5087,7 +5087,7 @@ def create_storey_deprecated_with_http_info(self, cloud_pk, ifc_pk, project_pk,
50875087
number provided, it will be total request
50885088
timeout. It can also be a pair (tuple) of
50895089
(connection, read) timeouts.
5090-
:return: tuple(Storey, status_code(int), headers(HTTPHeaderDict))
5090+
:return: tuple(InlineResponse201, status_code(int), headers(HTTPHeaderDict))
50915091
If the method is called asynchronously,
50925092
returns the request thread.
50935093
"""
@@ -5173,7 +5173,7 @@ def create_storey_deprecated_with_http_info(self, cloud_pk, ifc_pk, project_pk,
51735173
body=body_params,
51745174
post_params=form_params,
51755175
files=local_var_files,
5176-
response_type='Storey', # noqa: E501
5176+
response_type='InlineResponse201', # noqa: E501
51775177
auth_settings=auth_settings,
51785178
async_req=local_var_params.get('async_req'),
51795179
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -5195,7 +5195,7 @@ def create_storey_plan_deprecated(self, cloud_pk, ifc_pk, project_pk, storey_uui
51955195
:param str ifc_pk: (required)
51965196
:param str project_pk: (required)
51975197
:param str storey_uuid: (required)
5198-
:param InlineObject6 data: (required)
5198+
:param InlineObject8 data: (required)
51995199
:param _preload_content: if False, the urllib3.HTTPResponse object will
52005200
be returned without reading/decoding response
52015201
data. Default is True.
@@ -5224,7 +5224,7 @@ def create_storey_plan_deprecated_with_http_info(self, cloud_pk, ifc_pk, project
52245224
:param str ifc_pk: (required)
52255225
:param str project_pk: (required)
52265226
:param str storey_uuid: (required)
5227-
:param InlineObject6 data: (required)
5227+
:param InlineObject8 data: (required)
52285228
:param _return_http_data_only: response data without head status code
52295229
and headers
52305230
:param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -18884,15 +18884,15 @@ def update_building_deprecated(self, cloud_pk, ifc_pk, project_pk, uuid, data, *
1888418884
:param str ifc_pk: (required)
1888518885
:param str project_pk: (required)
1888618886
:param str uuid: IFC element or element type UUID (required)
18887-
:param InlineObject5 data: (required)
18887+
:param InlineObject6 data: (required)
1888818888
:param _preload_content: if False, the urllib3.HTTPResponse object will
1888918889
be returned without reading/decoding response
1889018890
data. Default is True.
1889118891
:param _request_timeout: timeout setting for this request. If one
1889218892
number provided, it will be total request
1889318893
timeout. It can also be a pair (tuple) of
1889418894
(connection, read) timeouts.
18895-
:return: InlineResponse2002
18895+
:return: InlineResponse201
1889618896
If the method is called asynchronously,
1889718897
returns the request thread.
1889818898
"""
@@ -18913,7 +18913,7 @@ def update_building_deprecated_with_http_info(self, cloud_pk, ifc_pk, project_pk
1891318913
:param str ifc_pk: (required)
1891418914
:param str project_pk: (required)
1891518915
:param str uuid: IFC element or element type UUID (required)
18916-
:param InlineObject5 data: (required)
18916+
:param InlineObject6 data: (required)
1891718917
:param _return_http_data_only: response data without head status code
1891818918
and headers
1891918919
:param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -18923,7 +18923,7 @@ def update_building_deprecated_with_http_info(self, cloud_pk, ifc_pk, project_pk
1892318923
number provided, it will be total request
1892418924
timeout. It can also be a pair (tuple) of
1892518925
(connection, read) timeouts.
18926-
:return: tuple(InlineResponse2002, status_code(int), headers(HTTPHeaderDict))
18926+
:return: tuple(InlineResponse201, status_code(int), headers(HTTPHeaderDict))
1892718927
If the method is called asynchronously,
1892818928
returns the request thread.
1892918929
"""
@@ -19016,7 +19016,7 @@ def update_building_deprecated_with_http_info(self, cloud_pk, ifc_pk, project_pk
1901619016
body=body_params,
1901719017
post_params=form_params,
1901819018
files=local_var_files,
19019-
response_type='InlineResponse2002', # noqa: E501
19019+
response_type='InlineResponse201', # noqa: E501
1902019020
auth_settings=auth_settings,
1902119021
async_req=local_var_params.get('async_req'),
1902219022
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -21696,15 +21696,15 @@ def update_storey_deprecated(self, cloud_pk, ifc_pk, project_pk, uuid, data, **k
2169621696
:param str ifc_pk: (required)
2169721697
:param str project_pk: (required)
2169821698
:param str uuid: IFC element or element type UUID (required)
21699-
:param InlineObject7 data: (required)
21699+
:param InlineObject9 data: (required)
2170021700
:param _preload_content: if False, the urllib3.HTTPResponse object will
2170121701
be returned without reading/decoding response
2170221702
data. Default is True.
2170321703
:param _request_timeout: timeout setting for this request. If one
2170421704
number provided, it will be total request
2170521705
timeout. It can also be a pair (tuple) of
2170621706
(connection, read) timeouts.
21707-
:return: InlineResponse2002
21707+
:return: InlineResponse201
2170821708
If the method is called asynchronously,
2170921709
returns the request thread.
2171021710
"""
@@ -21725,7 +21725,7 @@ def update_storey_deprecated_with_http_info(self, cloud_pk, ifc_pk, project_pk,
2172521725
:param str ifc_pk: (required)
2172621726
:param str project_pk: (required)
2172721727
:param str uuid: IFC element or element type UUID (required)
21728-
:param InlineObject7 data: (required)
21728+
:param InlineObject9 data: (required)
2172921729
:param _return_http_data_only: response data without head status code
2173021730
and headers
2173121731
:param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -21735,7 +21735,7 @@ def update_storey_deprecated_with_http_info(self, cloud_pk, ifc_pk, project_pk,
2173521735
number provided, it will be total request
2173621736
timeout. It can also be a pair (tuple) of
2173721737
(connection, read) timeouts.
21738-
:return: tuple(InlineResponse2002, status_code(int), headers(HTTPHeaderDict))
21738+
:return: tuple(InlineResponse201, status_code(int), headers(HTTPHeaderDict))
2173921739
If the method is called asynchronously,
2174021740
returns the request thread.
2174121741
"""
@@ -21828,7 +21828,7 @@ def update_storey_deprecated_with_http_info(self, cloud_pk, ifc_pk, project_pk,
2182821828
body=body_params,
2182921829
post_params=form_params,
2183021830
files=local_var_files,
21831-
response_type='InlineResponse2002', # noqa: E501
21831+
response_type='InlineResponse201', # noqa: E501
2183221832
auth_settings=auth_settings,
2183321833
async_req=local_var_params.get('async_req'),
2183421834
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501

0 commit comments

Comments
 (0)