Skip to content

Commit 19b7898

Browse files
committed
PATCH: added missing value (client name) to User Invitation Serializer (#590)
1 parent e56de25 commit 19b7898

18 files changed

+32
-25
lines changed

bimdata_api_client/api/bcf_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4929,7 +4929,7 @@ def download_bcf_export(
49294929
id (int): A unique integer value identifying this project.
49304930
49314931
Keyword Args:
4932-
format (str): topic format to export, comma separated. Default = all. [optional]
4932+
format (str): topic format to export, comma separated. Default = standard. [optional]
49334933
topics (str): topic guids to export, comma separated. Default = all. [optional]
49344934
_return_http_data_only (bool): response data without head status
49354935
code and headers. Default is True.

bimdata_api_client/api/collaboration_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8027,7 +8027,7 @@ def create_document(
80278027
):
80288028
"""Create a document # noqa: E501
80298029

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

bimdata_api_client/model/full_topic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def _from_openapi_data(cls, modified_date, title, project, *args, **kwargs): #
222222
priority (str, none_type): [optional] # noqa: E501
223223
index (int, none_type): [optional] # noqa: E501
224224
assigned_to (str, none_type): [optional] # noqa: E501
225-
format (str): [optional] # noqa: E501
225+
format (str): The BCF data structure may be used for other purposes than BCF Topics. (Storing coordinates, a viewpoint, a list of objecs, etc) The default value is \"standard\". If you want to use the BCF routes to store custom data not related to a BCF Topic, you must set this value to something else. You must add a query string filter if you want to fetch topics with a non \"standard\" format. . [optional] # noqa: E501
226226
due_date (datetime, none_type): [optional] # noqa: E501
227227
comments ([Comment]): [optional] # noqa: E501
228228
viewpoints ([Viewpoint]): [optional] # noqa: E501
@@ -328,7 +328,7 @@ def __init__(self, title, project, *args, **kwargs): # noqa: E501
328328
priority (str, none_type): [optional] # noqa: E501
329329
index (int, none_type): [optional] # noqa: E501
330330
assigned_to (str, none_type): [optional] # noqa: E501
331-
format (str): [optional] # noqa: E501
331+
format (str): The BCF data structure may be used for other purposes than BCF Topics. (Storing coordinates, a viewpoint, a list of objecs, etc) The default value is \"standard\". If you want to use the BCF routes to store custom data not related to a BCF Topic, you must set this value to something else. You must add a query string filter if you want to fetch topics with a non \"standard\" format. . [optional] # noqa: E501
332332
due_date (datetime, none_type): [optional] # noqa: E501
333333
comments ([Comment]): [optional] # noqa: E501
334334
viewpoints ([Viewpoint]): [optional] # noqa: E501

bimdata_api_client/model/full_topic_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def _from_openapi_data(cls, title, project, *args, **kwargs): # noqa: E501
234234
priority (str, none_type): [optional] # noqa: E501
235235
index (int, none_type): [optional] # noqa: E501
236236
assigned_to (str, none_type): [optional] # noqa: E501
237-
format (str): [optional] # noqa: E501
237+
format (str): The BCF data structure may be used for other purposes than BCF Topics. (Storing coordinates, a viewpoint, a list of objecs, etc) The default value is \"standard\". If you want to use the BCF routes to store custom data not related to a BCF Topic, you must set this value to something else. You must add a query string filter if you want to fetch topics with a non \"standard\" format. . [optional] # noqa: E501
238238
due_date (datetime, none_type): [optional] # noqa: E501
239239
comments ([CommentRequest]): [optional] # noqa: E501
240240
viewpoints ([ViewpointRequest]): [optional] # noqa: E501
@@ -340,7 +340,7 @@ def __init__(self, title, project, *args, **kwargs): # noqa: E501
340340
priority (str, none_type): [optional] # noqa: E501
341341
index (int, none_type): [optional] # noqa: E501
342342
assigned_to (str, none_type): [optional] # noqa: E501
343-
format (str): [optional] # noqa: E501
343+
format (str): The BCF data structure may be used for other purposes than BCF Topics. (Storing coordinates, a viewpoint, a list of objecs, etc) The default value is \"standard\". If you want to use the BCF routes to store custom data not related to a BCF Topic, you must set this value to something else. You must add a query string filter if you want to fetch topics with a non \"standard\" format. . [optional] # noqa: E501
344344
due_date (datetime, none_type): [optional] # noqa: E501
345345
comments ([CommentRequest]): [optional] # noqa: E501
346346
viewpoints ([ViewpointRequest]): [optional] # noqa: E501

bimdata_api_client/model/patched_full_topic_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
231231
priority (str, none_type): [optional] # noqa: E501
232232
index (int, none_type): [optional] # noqa: E501
233233
assigned_to (str, none_type): [optional] # noqa: E501
234-
format (str): [optional] # noqa: E501
234+
format (str): The BCF data structure may be used for other purposes than BCF Topics. (Storing coordinates, a viewpoint, a list of objecs, etc) The default value is \"standard\". If you want to use the BCF routes to store custom data not related to a BCF Topic, you must set this value to something else. You must add a query string filter if you want to fetch topics with a non \"standard\" format. . [optional] # noqa: E501
235235
due_date (datetime, none_type): [optional] # noqa: E501
236236
comments ([CommentRequest]): [optional] # noqa: E501
237237
viewpoints ([ViewpointRequest]): [optional] # noqa: E501
@@ -333,7 +333,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
333333
priority (str, none_type): [optional] # noqa: E501
334334
index (int, none_type): [optional] # noqa: E501
335335
assigned_to (str, none_type): [optional] # noqa: E501
336-
format (str): [optional] # noqa: E501
336+
format (str): The BCF data structure may be used for other purposes than BCF Topics. (Storing coordinates, a viewpoint, a list of objecs, etc) The default value is \"standard\". If you want to use the BCF routes to store custom data not related to a BCF Topic, you must set this value to something else. You must add a query string filter if you want to fetch topics with a non \"standard\" format. . [optional] # noqa: E501
337337
due_date (datetime, none_type): [optional] # noqa: E501
338338
comments ([CommentRequest]): [optional] # noqa: E501
339339
viewpoints ([ViewpointRequest]): [optional] # noqa: E501

bimdata_api_client/model/patched_topic_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
219219
due_date (datetime, none_type): [optional] # noqa: E501
220220
ifcs ([int]): DEPRECATED: Use 'models' instead. [optional] # noqa: E501
221221
models ([int]): [optional] # noqa: E501
222-
format (str): [optional] # noqa: E501
222+
format (str): The BCF data structure may be used for other purposes than BCF Topics. (Storing coordinates, a viewpoint, a list of objecs, etc) The default value is \"standard\". If you want to use the BCF routes to store custom data not related to a BCF Topic, you must set this value to something else. You must add a query string filter if you want to fetch topics with a non \"standard\" format. . [optional] # noqa: E501
223223
index (int, none_type): [optional] # noqa: E501
224224
project (int): [optional] # noqa: E501
225225
"""
@@ -319,7 +319,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
319319
due_date (datetime, none_type): [optional] # noqa: E501
320320
ifcs ([int]): DEPRECATED: Use 'models' instead. [optional] # noqa: E501
321321
models ([int]): [optional] # noqa: E501
322-
format (str): [optional] # noqa: E501
322+
format (str): The BCF data structure may be used for other purposes than BCF Topics. (Storing coordinates, a viewpoint, a list of objecs, etc) The default value is \"standard\". If you want to use the BCF routes to store custom data not related to a BCF Topic, you must set this value to something else. You must add a query string filter if you want to fetch topics with a non \"standard\" format. . [optional] # noqa: E501
323323
index (int, none_type): [optional] # noqa: E501
324324
project (int): [optional] # noqa: E501
325325
"""

bimdata_api_client/model/topic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def _from_openapi_data(cls, title, modified_date, project, *args, **kwargs): #
210210
due_date (datetime, none_type): [optional] # noqa: E501
211211
ifcs ([int]): DEPRECATED: Use 'models' instead. [optional] # noqa: E501
212212
models ([int]): [optional] # noqa: E501
213-
format (str): [optional] # noqa: E501
213+
format (str): The BCF data structure may be used for other purposes than BCF Topics. (Storing coordinates, a viewpoint, a list of objecs, etc) The default value is \"standard\". If you want to use the BCF routes to store custom data not related to a BCF Topic, you must set this value to something else. You must add a query string filter if you want to fetch topics with a non \"standard\" format. . [optional] # noqa: E501
214214
index (int, none_type): [optional] # noqa: E501
215215
"""
216216

@@ -315,7 +315,7 @@ def __init__(self, title, project, *args, **kwargs): # noqa: E501
315315
due_date (datetime, none_type): [optional] # noqa: E501
316316
ifcs ([int]): DEPRECATED: Use 'models' instead. [optional] # noqa: E501
317317
models ([int]): [optional] # noqa: E501
318-
format (str): [optional] # noqa: E501
318+
format (str): The BCF data structure may be used for other purposes than BCF Topics. (Storing coordinates, a viewpoint, a list of objecs, etc) The default value is \"standard\". If you want to use the BCF routes to store custom data not related to a BCF Topic, you must set this value to something else. You must add a query string filter if you want to fetch topics with a non \"standard\" format. . [optional] # noqa: E501
319319
index (int, none_type): [optional] # noqa: E501
320320
"""
321321

bimdata_api_client/model/topic_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def _from_openapi_data(cls, title, project, *args, **kwargs): # noqa: E501
222222
due_date (datetime, none_type): [optional] # noqa: E501
223223
ifcs ([int]): DEPRECATED: Use 'models' instead. [optional] # noqa: E501
224224
models ([int]): [optional] # noqa: E501
225-
format (str): [optional] # noqa: E501
225+
format (str): The BCF data structure may be used for other purposes than BCF Topics. (Storing coordinates, a viewpoint, a list of objecs, etc) The default value is \"standard\". If you want to use the BCF routes to store custom data not related to a BCF Topic, you must set this value to something else. You must add a query string filter if you want to fetch topics with a non \"standard\" format. . [optional] # noqa: E501
226226
index (int, none_type): [optional] # noqa: E501
227227
"""
228228

@@ -326,7 +326,7 @@ def __init__(self, title, project, *args, **kwargs): # noqa: E501
326326
due_date (datetime, none_type): [optional] # noqa: E501
327327
ifcs ([int]): DEPRECATED: Use 'models' instead. [optional] # noqa: E501
328328
models ([int]): [optional] # noqa: E501
329-
format (str): [optional] # noqa: E501
329+
format (str): The BCF data structure may be used for other purposes than BCF Topics. (Storing coordinates, a viewpoint, a list of objecs, etc) The default value is \"standard\". If you want to use the BCF routes to store custom data not related to a BCF Topic, you must set this value to something else. You must add a query string filter if you want to fetch topics with a non \"standard\" format. . [optional] # noqa: E501
330330
index (int, none_type): [optional] # noqa: E501
331331
"""
332332

bimdata_api_client/model/user_invitation.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def openapi_types():
101101
'cloud_id': (int,), # noqa: E501
102102
'cloud_name': (str,), # noqa: E501
103103
'project_id': (int, none_type,), # noqa: E501
104+
'client_name': (str,), # noqa: E501
104105
'sender': (User,), # noqa: E501
105106
'created_at': (datetime,), # noqa: E501
106107
'project_name': (str,), # noqa: E501
@@ -119,6 +120,7 @@ def discriminator():
119120
'cloud_id': 'cloud_id', # noqa: E501
120121
'cloud_name': 'cloud_name', # noqa: E501
121122
'project_id': 'project_id', # noqa: E501
123+
'client_name': 'client_name', # noqa: E501
122124
'sender': 'sender', # noqa: E501
123125
'created_at': 'created_at', # noqa: E501
124126
'project_name': 'project_name', # noqa: E501
@@ -137,7 +139,7 @@ def discriminator():
137139

138140
@classmethod
139141
@convert_js_args_to_python_args
140-
def _from_openapi_data(cls, id, redirect_uri, cloud_id, cloud_name, project_id, sender, created_at, *args, **kwargs): # noqa: E501
142+
def _from_openapi_data(cls, id, redirect_uri, cloud_id, cloud_name, project_id, client_name, sender, created_at, *args, **kwargs): # noqa: E501
141143
"""UserInvitation - a model defined in OpenAPI
142144
143145
Args:
@@ -146,6 +148,7 @@ def _from_openapi_data(cls, id, redirect_uri, cloud_id, cloud_name, project_id,
146148
cloud_id (int):
147149
cloud_name (str):
148150
project_id (int, none_type):
151+
client_name (str):
149152
sender (User):
150153
created_at (datetime):
151154
@@ -215,6 +218,7 @@ def _from_openapi_data(cls, id, redirect_uri, cloud_id, cloud_name, project_id,
215218
self.cloud_id = cloud_id
216219
self.cloud_name = cloud_name
217220
self.project_id = project_id
221+
self.client_name = client_name
218222
self.sender = sender
219223
self.created_at = created_at
220224
for var_name, var_value in kwargs.items():
@@ -237,11 +241,12 @@ def _from_openapi_data(cls, id, redirect_uri, cloud_id, cloud_name, project_id,
237241
])
238242

239243
@convert_js_args_to_python_args
240-
def __init__(self, redirect_uri, cloud_name, sender, *args, **kwargs): # noqa: E501
244+
def __init__(self, redirect_uri, cloud_name, client_name, sender, *args, **kwargs): # noqa: E501
241245
"""UserInvitation - a model defined in OpenAPI
242246
243247
redirect_uri (str): User will be redirected to this uri when they accept the invitation
244248
cloud_name (str):
249+
client_name (str):
245250
sender (User):
246251
Keyword Args:
247252
_check_type (bool): if True, values for parameters in openapi_types
@@ -304,6 +309,7 @@ def __init__(self, redirect_uri, cloud_name, sender, *args, **kwargs): # noqa:
304309

305310
self.redirect_uri = redirect_uri
306311
self.cloud_name = cloud_name
312+
self.client_name = client_name
307313
self.sender = sender
308314
for var_name, var_value in kwargs.items():
309315
if var_name not in self.attribute_map and \

docs/BcfApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2156,7 +2156,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
21562156
# Create an instance of the API class
21572157
api_instance = bcf_api.BcfApi(api_client)
21582158
id = 1 # int | A unique integer value identifying this project.
2159-
format = "format_example" # str | topic format to export, comma separated. Default = all (optional)
2159+
format = "format_example" # str | topic format to export, comma separated. Default = standard (optional)
21602160
topics = "topics_example" # str | topic guids to export, comma separated. Default = all (optional)
21612161

21622162
# example passing only required values which don't have defaults set
@@ -2183,7 +2183,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
21832183
Name | Type | Description | Notes
21842184
------------- | ------------- | ------------- | -------------
21852185
**id** | **int**| A unique integer value identifying this project. |
2186-
**format** | **str**| topic format to export, comma separated. Default = all | [optional]
2186+
**format** | **str**| topic format to export, comma separated. Default = standard | [optional]
21872187
**topics** | **str**| topic guids to export, comma separated. Default = all | [optional]
21882188

21892189
### Return type

0 commit comments

Comments
 (0)