Skip to content

Commit 0fc0507

Browse files
committed
PATCH: add z field to geometryPoint
1 parent c9b6ea0 commit 0fc0507

9 files changed

Lines changed: 39 additions & 6 deletions

File tree

bimdata_api_client/api/collaboration_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8373,7 +8373,7 @@ def create_document(
83738373
):
83748374
"""Create a document # noqa: E501
83758375

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

bimdata_api_client/model/geometry_point.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def openapi_types():
8484
return {
8585
'x': (float,), # noqa: E501
8686
'y': (float,), # noqa: E501
87+
'z': (float,), # noqa: E501
8788
}
8889

8990
@cached_property
@@ -94,6 +95,7 @@ def discriminator():
9495
attribute_map = {
9596
'x': 'x', # noqa: E501
9697
'y': 'y', # noqa: E501
98+
'z': 'z', # noqa: E501
9799
}
98100

99101
read_only_vars = {
@@ -103,12 +105,13 @@ def discriminator():
103105

104106
@classmethod
105107
@convert_js_args_to_python_args
106-
def _from_openapi_data(cls, x, y, *args, **kwargs): # noqa: E501
108+
def _from_openapi_data(cls, x, y, z, *args, **kwargs): # noqa: E501
107109
"""GeometryPoint - a model defined in OpenAPI
108110
109111
Args:
110112
x (float):
111113
y (float):
114+
z (float):
112115
113116
Keyword Args:
114117
_check_type (bool): if True, values for parameters in openapi_types
@@ -170,6 +173,7 @@ def _from_openapi_data(cls, x, y, *args, **kwargs): # noqa: E501
170173

171174
self.x = x
172175
self.y = y
176+
self.z = z
173177
for var_name, var_value in kwargs.items():
174178
if var_name not in self.attribute_map and \
175179
self._configuration is not None and \
@@ -190,12 +194,13 @@ def _from_openapi_data(cls, x, y, *args, **kwargs): # noqa: E501
190194
])
191195

192196
@convert_js_args_to_python_args
193-
def __init__(self, x, y, *args, **kwargs): # noqa: E501
197+
def __init__(self, x, y, z, *args, **kwargs): # noqa: E501
194198
"""GeometryPoint - a model defined in OpenAPI
195199
196200
Args:
197201
x (float):
198202
y (float):
203+
z (float):
199204
200205
Keyword Args:
201206
_check_type (bool): if True, values for parameters in openapi_types
@@ -255,6 +260,7 @@ def __init__(self, x, y, *args, **kwargs): # noqa: E501
255260

256261
self.x = x
257262
self.y = y
263+
self.z = z
258264
for var_name, var_value in kwargs.items():
259265
if var_name not in self.attribute_map and \
260266
self._configuration is not None and \

bimdata_api_client/model/geometry_point_request.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def openapi_types():
8484
return {
8585
'x': (float,), # noqa: E501
8686
'y': (float,), # noqa: E501
87+
'z': (float,), # noqa: E501
8788
}
8889

8990
@cached_property
@@ -94,6 +95,7 @@ def discriminator():
9495
attribute_map = {
9596
'x': 'x', # noqa: E501
9697
'y': 'y', # noqa: E501
98+
'z': 'z', # noqa: E501
9799
}
98100

99101
read_only_vars = {
@@ -103,12 +105,13 @@ def discriminator():
103105

104106
@classmethod
105107
@convert_js_args_to_python_args
106-
def _from_openapi_data(cls, x, y, *args, **kwargs): # noqa: E501
108+
def _from_openapi_data(cls, x, y, z, *args, **kwargs): # noqa: E501
107109
"""GeometryPointRequest - a model defined in OpenAPI
108110
109111
Args:
110112
x (float):
111113
y (float):
114+
z (float):
112115
113116
Keyword Args:
114117
_check_type (bool): if True, values for parameters in openapi_types
@@ -170,6 +173,7 @@ def _from_openapi_data(cls, x, y, *args, **kwargs): # noqa: E501
170173

171174
self.x = x
172175
self.y = y
176+
self.z = z
173177
for var_name, var_value in kwargs.items():
174178
if var_name not in self.attribute_map and \
175179
self._configuration is not None and \
@@ -190,12 +194,13 @@ def _from_openapi_data(cls, x, y, *args, **kwargs): # noqa: E501
190194
])
191195

192196
@convert_js_args_to_python_args
193-
def __init__(self, x, y, *args, **kwargs): # noqa: E501
197+
def __init__(self, x, y, z, *args, **kwargs): # noqa: E501
194198
"""GeometryPointRequest - a model defined in OpenAPI
195199
196200
Args:
197201
x (float):
198202
y (float):
203+
z (float):
199204
200205
Keyword Args:
201206
_check_type (bool): if True, values for parameters in openapi_types
@@ -255,6 +260,7 @@ def __init__(self, x, y, *args, **kwargs): # noqa: E501
255260

256261
self.x = x
257262
self.y = y
263+
self.z = z
258264
for var_name, var_value in kwargs.items():
259265
if var_name not in self.attribute_map and \
260266
self._configuration is not None and \

docs/BcfApi.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -893,6 +893,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
893893
point=GeometryPointRequest(
894894
x=3.14,
895895
y=3.14,
896+
z=3.14,
896897
),
897898
index=0,
898899
),
@@ -1028,6 +1029,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
10281029
point=GeometryPointRequest(
10291030
x=3.14,
10301031
y=3.14,
1032+
z=3.14,
10311033
),
10321034
index=0,
10331035
) # PinRequest |
@@ -1321,6 +1323,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
13211323
point=GeometryPointRequest(
13221324
x=3.14,
13231325
y=3.14,
1326+
z=3.14,
13241327
),
13251328
index=0,
13261329
),
@@ -2837,6 +2840,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
28372840
point=GeometryPointRequest(
28382841
x=3.14,
28392842
y=3.14,
2843+
z=3.14,
28402844
),
28412845
index=0,
28422846
),
@@ -2974,6 +2978,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
29742978
point=GeometryPointRequest(
29752979
x=3.14,
29762980
y=3.14,
2981+
z=3.14,
29772982
),
29782983
index=0,
29792984
) # PinRequest |
@@ -3271,6 +3276,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
32713276
point=GeometryPointRequest(
32723277
x=3.14,
32733278
y=3.14,
3279+
z=3.14,
32743280
),
32753281
index=0,
32763282
),
@@ -7033,6 +7039,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
70337039
point=GeometryPointRequest(
70347040
x=3.14,
70357041
y=3.14,
7042+
z=3.14,
70367043
),
70377044
index=0,
70387045
),
@@ -7169,6 +7176,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
71697176
point=GeometryPointRequest(
71707177
x=3.14,
71717178
y=3.14,
7179+
z=3.14,
71727180
),
71737181
index=0,
71747182
) # PatchedPinRequest | (optional)
@@ -7484,6 +7492,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
74847492
point=GeometryPointRequest(
74857493
x=3.14,
74867494
y=3.14,
7495+
z=3.14,
74877496
),
74887497
index=0,
74897498
),

docs/CollaborationApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ Name | Type | Description | Notes
15271527
15281528
Create a document
15291529

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

15321532
### Example
15331533

docs/GeometryPoint.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**x** | **float** | |
88
**y** | **float** | |
9+
**z** | **float** | |
910
**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]
1011

1112
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/GeometryPointRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**x** | **float** | |
88
**y** | **float** | |
9+
**z** | **float** | |
910
**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]
1011

1112
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/IfcApi.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4310,6 +4310,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
43104310
GeometryPointRequest(
43114311
x=3.14,
43124312
y=3.14,
4313+
z=3.14,
43134314
),
43144315
],
43154316
),
@@ -5004,6 +5005,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
50045005
GeometryPointRequest(
50055006
x=3.14,
50065007
y=3.14,
5008+
z=3.14,
50075009
),
50085010
],
50095011
),
@@ -16757,6 +16759,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
1675716759
GeometryPointRequest(
1675816760
x=3.14,
1675916761
y=3.14,
16762+
z=3.14,
1676016763
),
1676116764
],
1676216765
) # PatchedSpaceRequest | (optional)
@@ -17283,6 +17286,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
1728317286
GeometryPointRequest(
1728417287
x=3.14,
1728517288
y=3.14,
17289+
z=3.14,
1728617290
),
1728717291
],
1728817292
),
@@ -17300,6 +17304,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
1730017304
GeometryPointRequest(
1730117305
x=3.14,
1730217306
y=3.14,
17307+
z=3.14,
1730317308
),
1730417309
],
1730517310
),

docs/ModelApi.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4310,6 +4310,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
43104310
GeometryPointRequest(
43114311
x=3.14,
43124312
y=3.14,
4313+
z=3.14,
43134314
),
43144315
],
43154316
),
@@ -5004,6 +5005,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
50045005
GeometryPointRequest(
50055006
x=3.14,
50065007
y=3.14,
5008+
z=3.14,
50075009
),
50085010
],
50095011
),
@@ -16787,6 +16789,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
1678716789
GeometryPointRequest(
1678816790
x=3.14,
1678916791
y=3.14,
16792+
z=3.14,
1679016793
),
1679116794
],
1679216795
) # PatchedSpaceRequest | (optional)
@@ -17313,6 +17316,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
1731317316
GeometryPointRequest(
1731417317
x=3.14,
1731517318
y=3.14,
17319+
z=3.14,
1731617320
),
1731717321
],
1731817322
),
@@ -17330,6 +17334,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
1733017334
GeometryPointRequest(
1733117335
x=3.14,
1733217336
y=3.14,
17337+
z=3.14,
1733317338
),
1733417339
],
1733517340
),

0 commit comments

Comments
 (0)