Skip to content

Commit 02bfd6e

Browse files
committed
PATCH: fix typo in document_naming_constraint_conflict (#1044)
1 parent 6735a42 commit 02bfd6e

34 files changed

Lines changed: 202 additions & 203 deletions

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,12 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
144144
projects_pk = 1 # int | A unique integer value identifying this project.
145145
topics_guid = "topics_guid_example" # str |
146146
comment_request = CommentRequest(
147-
viewpoint_temp_id=1,
148147
viewpoint_guid="viewpoint_guid_example",
149-
author="author_example",
150-
comment="comment_example",
151148
reply_to_comment_guid="reply_to_comment_guid_example",
149+
viewpoint_temp_id=1,
150+
author="author_example",
152151
date=dateutil_parser('1970-01-01T00:00:00.00Z'),
152+
comment="comment_example",
153153
modified_author="modified_author_example",
154154
guid="guid_example",
155155
) # CommentRequest | (optional)

‎bimdata_api_client/api/collaboration_api.py‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3954,7 +3954,7 @@ def __init__(self, api_client=None):
39543954
'name__contains',
39553955
'name__endswith',
39563956
'name__startswith',
3957-
'naming_constraint_conflit',
3957+
'naming_constraint_conflict',
39583958
'parent_id__in',
39593959
'search',
39603960
'size_max',
@@ -4056,7 +4056,7 @@ def __init__(self, api_client=None):
40564056
(str,),
40574057
'name__startswith':
40584058
(str,),
4059-
'naming_constraint_conflit':
4059+
'naming_constraint_conflict':
40604060
(bool,),
40614061
'parent_id__in':
40624062
([float],),
@@ -4110,7 +4110,7 @@ def __init__(self, api_client=None):
41104110
'name__contains': 'name__contains',
41114111
'name__endswith': 'name__endswith',
41124112
'name__startswith': 'name__startswith',
4113-
'naming_constraint_conflit': 'naming_constraint_conflit',
4113+
'naming_constraint_conflict': 'naming_constraint_conflict',
41144114
'parent_id__in': 'parent_id__in',
41154115
'search': 'search',
41164116
'size_max': 'size_max',
@@ -4148,7 +4148,7 @@ def __init__(self, api_client=None):
41484148
'name__contains': 'query',
41494149
'name__endswith': 'query',
41504150
'name__startswith': 'query',
4151-
'naming_constraint_conflit': 'query',
4151+
'naming_constraint_conflict': 'query',
41524152
'parent_id__in': 'query',
41534153
'search': 'query',
41544154
'size_max': 'query',
@@ -4282,7 +4282,7 @@ def __init__(self, api_client=None):
42824282
'name__contains',
42834283
'name__endswith',
42844284
'name__startswith',
4285-
'naming_constraint_conflit',
4285+
'naming_constraint_conflict',
42864286
'parent_id__in',
42874287
'search',
42884288
'size_max',
@@ -4386,7 +4386,7 @@ def __init__(self, api_client=None):
43864386
(str,),
43874387
'name__startswith':
43884388
(str,),
4389-
'naming_constraint_conflit':
4389+
'naming_constraint_conflict':
43904390
(bool,),
43914391
'parent_id__in':
43924392
([float],),
@@ -4439,7 +4439,7 @@ def __init__(self, api_client=None):
44394439
'name__contains': 'name__contains',
44404440
'name__endswith': 'name__endswith',
44414441
'name__startswith': 'name__startswith',
4442-
'naming_constraint_conflit': 'naming_constraint_conflit',
4442+
'naming_constraint_conflict': 'naming_constraint_conflict',
44434443
'parent_id__in': 'parent_id__in',
44444444
'search': 'search',
44454445
'size_max': 'size_max',
@@ -4477,7 +4477,7 @@ def __init__(self, api_client=None):
44774477
'name__contains': 'query',
44784478
'name__endswith': 'query',
44794479
'name__startswith': 'query',
4480-
'naming_constraint_conflit': 'query',
4480+
'naming_constraint_conflict': 'query',
44814481
'parent_id__in': 'query',
44824482
'search': 'query',
44834483
'size_max': 'query',
@@ -10237,7 +10237,7 @@ def create_document(
1023710237
):
1023810238
"""Create a document # noqa: E501
1023910239

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

@@ -13777,7 +13777,7 @@ def get_documents(
1377713777
name__contains (str): [optional]
1377813778
name__endswith (str): [optional]
1377913779
name__startswith (str): [optional]
13780-
naming_constraint_conflit (bool): [optional]
13780+
naming_constraint_conflict (bool): [optional]
1378113781
parent_id__in ([float]): Multiple values may be separated by commas.. [optional]
1378213782
search (str): [optional]
1378313783
size_max (int, none_type): Size of the file.. [optional]
@@ -13981,7 +13981,7 @@ def get_folder_documents(
1398113981
name__contains (str): [optional]
1398213982
name__endswith (str): [optional]
1398313983
name__startswith (str): [optional]
13984-
naming_constraint_conflit (bool): [optional]
13984+
naming_constraint_conflict (bool): [optional]
1398513985
parent_id__in ([float]): Multiple values may be separated by commas.. [optional]
1398613986
search (str): [optional]
1398713987
size_max (int, none_type): Size of the file.. [optional]

‎bimdata_api_client/model/comment.py‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ def openapi_types():
9191
'topic_guid': (str,), # noqa: E501
9292
'modified_date': (datetime,), # noqa: E501
9393
'viewpoint_guid': (str, none_type,), # noqa: E501
94-
'author': (str, none_type,), # noqa: E501
95-
'comment': (str,), # noqa: E501
9694
'reply_to_comment_guid': (str, none_type,), # noqa: E501
95+
'author': (str, none_type,), # noqa: E501
9796
'date': (datetime,), # noqa: E501
97+
'comment': (str,), # noqa: E501
9898
'modified_author': (str, none_type,), # noqa: E501
9999
'guid': (str,), # noqa: E501
100100
}
@@ -108,10 +108,10 @@ def discriminator():
108108
'topic_guid': 'topic_guid', # noqa: E501
109109
'modified_date': 'modified_date', # noqa: E501
110110
'viewpoint_guid': 'viewpoint_guid', # noqa: E501
111-
'author': 'author', # noqa: E501
112-
'comment': 'comment', # noqa: E501
113111
'reply_to_comment_guid': 'reply_to_comment_guid', # noqa: E501
112+
'author': 'author', # noqa: E501
114113
'date': 'date', # noqa: E501
114+
'comment': 'comment', # noqa: E501
115115
'modified_author': 'modified_author', # noqa: E501
116116
'guid': 'guid', # noqa: E501
117117
}
@@ -164,10 +164,10 @@ def _from_openapi_data(cls, topic_guid, modified_date, *args, **kwargs): # noqa
164164
through its discriminator because we passed in
165165
_visited_composed_classes = (Animal,)
166166
viewpoint_guid (str, none_type): [optional] # noqa: E501
167-
author (str, none_type): [optional] # noqa: E501
168-
comment (str): [optional] # noqa: E501
169167
reply_to_comment_guid (str, none_type): [optional] # noqa: E501
168+
author (str, none_type): [optional] # noqa: E501
170169
date (datetime): [optional] # noqa: E501
170+
comment (str): [optional] # noqa: E501
171171
modified_author (str, none_type): [optional] # noqa: E501
172172
guid (str): [optional] # noqa: E501
173173
"""
@@ -254,10 +254,10 @@ def __init__(self, *args, **kwargs): # noqa: E501
254254
through its discriminator because we passed in
255255
_visited_composed_classes = (Animal,)
256256
viewpoint_guid (str, none_type): [optional] # noqa: E501
257-
author (str, none_type): [optional] # noqa: E501
258-
comment (str): [optional] # noqa: E501
259257
reply_to_comment_guid (str, none_type): [optional] # noqa: E501
258+
author (str, none_type): [optional] # noqa: E501
260259
date (datetime): [optional] # noqa: E501
260+
comment (str): [optional] # noqa: E501
261261
modified_author (str, none_type): [optional] # noqa: E501
262262
guid (str): [optional] # noqa: E501
263263
"""

‎bimdata_api_client/model/comment_request.py‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ def openapi_types():
8888
and the value is attribute type.
8989
"""
9090
return {
91-
'viewpoint_temp_id': (int,), # noqa: E501
9291
'viewpoint_guid': (str, none_type,), # noqa: E501
93-
'author': (str, none_type,), # noqa: E501
94-
'comment': (str,), # noqa: E501
9592
'reply_to_comment_guid': (str, none_type,), # noqa: E501
93+
'viewpoint_temp_id': (int,), # noqa: E501
94+
'author': (str, none_type,), # noqa: E501
9695
'date': (datetime,), # noqa: E501
96+
'comment': (str,), # noqa: E501
9797
'modified_author': (str, none_type,), # noqa: E501
9898
'guid': (str,), # noqa: E501
9999
}
@@ -104,12 +104,12 @@ def discriminator():
104104

105105

106106
attribute_map = {
107-
'viewpoint_temp_id': 'viewpoint_temp_id', # noqa: E501
108107
'viewpoint_guid': 'viewpoint_guid', # noqa: E501
109-
'author': 'author', # noqa: E501
110-
'comment': 'comment', # noqa: E501
111108
'reply_to_comment_guid': 'reply_to_comment_guid', # noqa: E501
109+
'viewpoint_temp_id': 'viewpoint_temp_id', # noqa: E501
110+
'author': 'author', # noqa: E501
112111
'date': 'date', # noqa: E501
112+
'comment': 'comment', # noqa: E501
113113
'modified_author': 'modified_author', # noqa: E501
114114
'guid': 'guid', # noqa: E501
115115
}
@@ -155,12 +155,12 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
155155
Animal class but this time we won't travel
156156
through its discriminator because we passed in
157157
_visited_composed_classes = (Animal,)
158-
viewpoint_temp_id (int): Only used when using POST on the full-topic route to bind viewpoint with comment. [optional] # noqa: E501
159158
viewpoint_guid (str, none_type): [optional] # noqa: E501
160-
author (str, none_type): [optional] # noqa: E501
161-
comment (str): [optional] # noqa: E501
162159
reply_to_comment_guid (str, none_type): [optional] # noqa: E501
160+
viewpoint_temp_id (int): Only used when using POST on the full-topic route to bind viewpoint with comment. [optional] # noqa: E501
161+
author (str, none_type): [optional] # noqa: E501
163162
date (datetime): [optional] # noqa: E501
163+
comment (str): [optional] # noqa: E501
164164
modified_author (str, none_type): [optional] # noqa: E501
165165
guid (str): [optional] # noqa: E501
166166
"""
@@ -244,12 +244,12 @@ def __init__(self, *args, **kwargs): # noqa: E501
244244
Animal class but this time we won't travel
245245
through its discriminator because we passed in
246246
_visited_composed_classes = (Animal,)
247-
viewpoint_temp_id (int): Only used when using POST on the full-topic route to bind viewpoint with comment. [optional] # noqa: E501
248247
viewpoint_guid (str, none_type): [optional] # noqa: E501
249-
author (str, none_type): [optional] # noqa: E501
250-
comment (str): [optional] # noqa: E501
251248
reply_to_comment_guid (str, none_type): [optional] # noqa: E501
249+
viewpoint_temp_id (int): Only used when using POST on the full-topic route to bind viewpoint with comment. [optional] # noqa: E501
250+
author (str, none_type): [optional] # noqa: E501
252251
date (datetime): [optional] # noqa: E501
252+
comment (str): [optional] # noqa: E501
253253
modified_author (str, none_type): [optional] # noqa: E501
254254
guid (str): [optional] # noqa: E501
255255
"""

‎bimdata_api_client/model/document.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def openapi_types():
137137
'user_permission': (int,), # noqa: E501
138138
'office_preview': (str, none_type,), # noqa: E501
139139
'path': (str,), # noqa: E501
140-
'naming_constraint_conflit': (bool,), # noqa: E501
140+
'naming_constraint_conflict': (bool,), # noqa: E501
141141
'parent_id': (int, none_type,), # noqa: E501
142142
'file_name': (str,), # noqa: E501
143143
'description': (str, none_type,), # noqa: E501
@@ -169,7 +169,7 @@ def discriminator():
169169
'user_permission': 'user_permission', # noqa: E501
170170
'office_preview': 'office_preview', # noqa: E501
171171
'path': 'path', # noqa: E501
172-
'naming_constraint_conflit': 'naming_constraint_conflit', # noqa: E501
172+
'naming_constraint_conflict': 'naming_constraint_conflict', # noqa: E501
173173
'parent_id': 'parent_id', # noqa: E501
174174
'file_name': 'file_name', # noqa: E501
175175
'description': 'description', # noqa: E501
@@ -195,14 +195,14 @@ def discriminator():
195195
'user_permission', # noqa: E501
196196
'office_preview', # noqa: E501
197197
'path', # noqa: E501
198-
'naming_constraint_conflit', # noqa: E501
198+
'naming_constraint_conflict', # noqa: E501
199199
}
200200

201201
_composed_schemas = {}
202202

203203
@classmethod
204204
@convert_js_args_to_python_args
205-
def _from_openapi_data(cls, id, created_by, project, name, file, file_type, size, tags, visas, created_at, updated_at, model_id, model_type, ifc_id, head_id, is_head_version, history_count, user_permission, office_preview, path, naming_constraint_conflit, *args, **kwargs): # noqa: E501
205+
def _from_openapi_data(cls, id, created_by, project, name, file, file_type, size, tags, visas, created_at, updated_at, model_id, model_type, ifc_id, head_id, is_head_version, history_count, user_permission, office_preview, path, naming_constraint_conflict, *args, **kwargs): # noqa: E501
206206
"""Document - a model defined in OpenAPI
207207
208208
Args:
@@ -226,7 +226,7 @@ def _from_openapi_data(cls, id, created_by, project, name, file, file_type, size
226226
user_permission (int): Aggregate of group user permissions and folder default permission
227227
office_preview (str, none_type): Office files will be converted as pdf to provide a web preview. Supported extensions are .ppt, .pptx, .odp, .xls, .xlsx, .ods, .doc, .docx, .odt
228228
path (str):
229-
naming_constraint_conflit (bool):
229+
naming_constraint_conflict (bool):
230230
231231
Keyword Args:
232232
_check_type (bool): if True, values for parameters in openapi_types
@@ -309,7 +309,7 @@ def _from_openapi_data(cls, id, created_by, project, name, file, file_type, size
309309
self.user_permission = user_permission
310310
self.office_preview = office_preview
311311
self.path = path
312-
self.naming_constraint_conflit = naming_constraint_conflit
312+
self.naming_constraint_conflict = naming_constraint_conflict
313313
for var_name, var_value in kwargs.items():
314314
if var_name not in self.attribute_map and \
315315
self._configuration is not None and \

‎bimdata_api_client/model/document_text.py‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ class DocumentText(ModelNormal):
5858
allowed_values = {
5959
('language',): {
6060
'None': None,
61-
'FRENCH': "french",
62-
'ENGLISH': "english",
63-
'ITALIAN': "italian",
6461
'SPANISH': "spanish",
62+
'ITALIAN': "italian",
6563
'GERMAN': "german",
64+
'ENGLISH': "english",
65+
'FRENCH': "french",
6666
'NULL': "null",
6767
},
6868
}
@@ -153,7 +153,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501
153153
through its discriminator because we passed in
154154
_visited_composed_classes = (Animal,)
155155
text (str, none_type): The full text representation of a document if the feature is enabled and the file format supported. [optional] # noqa: E501
156-
language (str, none_type): * `french` - french * `english` - english * `italian` - italian * `spanish` - spanish * `german` - german. [optional] # noqa: E501
156+
language (str, none_type): * `spanish` - spanish * `italian` - italian * `german` - german * `english` - english * `french` - french. [optional] # noqa: E501
157157
"""
158158

159159
_check_type = kwargs.pop('_check_type', True)
@@ -237,7 +237,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
237237
through its discriminator because we passed in
238238
_visited_composed_classes = (Animal,)
239239
text (str, none_type): The full text representation of a document if the feature is enabled and the file format supported. [optional] # noqa: E501
240-
language (str, none_type): * `french` - french * `english` - english * `italian` - italian * `spanish` - spanish * `german` - german. [optional] # noqa: E501
240+
language (str, none_type): * `spanish` - spanish * `italian` - italian * `german` - german * `english` - english * `french` - french. [optional] # noqa: E501
241241
"""
242242

243243
_check_type = kwargs.pop('_check_type', True)

0 commit comments

Comments
 (0)