teamdbapi 3.9.0__tar.gz → 3.10.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- teamdbapi-3.10.1/.swagger-codegen/VERSION +1 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/LICENSE +1 -1
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/PKG-INFO +4 -4
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/README.md +3 -3
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/pyproject.toml +1 -1
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/assembly_api.py +23 -23
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/issue_api.py +109 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/issue.py +31 -3
- teamdbapi-3.9.0/.swagger-codegen/VERSION +0 -1
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/.gitignore +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/.swagger-codegen-ignore +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/.travis.yml +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/git_push.sh +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/requirements.txt +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/setup.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/__init__.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/__init__.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/car_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/component_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/config_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/criteria_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/edit_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/event_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/fixed_field_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/group_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/import_export_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/lap_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/lap_report_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/model_field_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/mounting_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/notes_authorization_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/overall_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/parameter_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/parameter_binding_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/part_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/report_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/revision_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/revision_editor_selector_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/run_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/script_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/session_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/target_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/team_db_list_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/team_db_view_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/tire_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/tire_set_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/track_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/track_layout_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/update_request_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/user_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/value_field_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api/version_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/api_client.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/configuration.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/__init__.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/add_part_car_parameter_arg.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/assembly.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/bleed_adjustment.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/calibration.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/car.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/car_parameters_context.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/compare_options.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/compare_result.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/compare_result_detail.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/component.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/copy_from_tags_args.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/couple_guid_text.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/criteria.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/criteria_set.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/criteria_value.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/criteria_value_detail.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/event.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/file_revision_info.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/fixed_field.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/group.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/import_parameters_args.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/import_parameters_results.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/import_revisions_args.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/import_revisions_info.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/import_revisions_results.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/issue_custom_field_value.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/issue_priority.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/issue_project.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/issue_sector.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/issue_status.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/issue_type.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/issue_workflow.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/item_value.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/item_value_key.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/lap.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/lap_report_options.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/model_field.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/model_field_authorization.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/mounting.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/notes_authorization.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/notes_context.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/overall.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/parameter.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/parameter_binding.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/parameter_cross_table.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/part.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/part_car_parameters.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/part_count.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/revision.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/revision_value.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/run.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/script.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/session.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/string_with_font_style.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/target.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/team_db_list.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/team_db_list_item.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/tire.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/tire_set.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/track.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/track_layout.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/user.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/user_group.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/value_field.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/models/version.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/teamdbapi/rest.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/test-requirements.txt +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.1}/tox.ini +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.4.9
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
Copyright © 2025 Trackside Software
|
|
2
2
|
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: teamdbapi
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.10.1
|
|
4
4
|
Summary: Easily access the TeamDB Web API.
|
|
5
5
|
Keywords: teamdbapi,Trackside,Trackside Software,TeamDB
|
|
6
6
|
Author-email: Trackside Software <support@trackside.fr>
|
|
@@ -17,16 +17,16 @@ Requires-Dist: setuptools >= 21.0.0
|
|
|
17
17
|
Requires-Dist: urllib3 >= 1.15.1
|
|
18
18
|
Project-URL: Home, https://www.tracksidesoftware.fr/teamdb
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
# teamdbapi
|
|
21
21
|
This module enables you to easily access the TeamDB Web API.
|
|
22
22
|
|
|
23
|
-
- Package version: 3.
|
|
23
|
+
- Package version: 3.10.1
|
|
24
24
|
- TeamDB Web API version: 2.0
|
|
25
25
|
|
|
26
26
|
## Requirements.
|
|
27
27
|
|
|
28
28
|
- Python 3.4+
|
|
29
|
-
- TeamDB 3.
|
|
29
|
+
- TeamDB 3.10.1
|
|
30
30
|
|
|
31
31
|
## <a name="install">Installation and usage</a>
|
|
32
32
|
### pip install
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
# teamdbapi
|
|
2
2
|
This module enables you to easily access the TeamDB Web API.
|
|
3
3
|
|
|
4
|
-
- Package version: 3.
|
|
4
|
+
- Package version: 3.10.1
|
|
5
5
|
- TeamDB Web API version: 2.0
|
|
6
6
|
|
|
7
7
|
## Requirements.
|
|
8
8
|
|
|
9
9
|
- Python 3.4+
|
|
10
|
-
- TeamDB 3.
|
|
10
|
+
- TeamDB 3.10.1
|
|
11
11
|
|
|
12
12
|
## <a name="install">Installation and usage</a>
|
|
13
13
|
### pip install
|
|
@@ -336,17 +336,17 @@ class AssemblyApi(object):
|
|
|
336
336
|
_request_timeout=params.get('_request_timeout'),
|
|
337
337
|
collection_formats=collection_formats)
|
|
338
338
|
|
|
339
|
-
def compare_assemblies(self,
|
|
339
|
+
def compare_assemblies(self, assembly_a_id, assembly_b_id, **kwargs): # noqa: E501
|
|
340
340
|
"""[Command] Compare 2 assemblies # noqa: E501
|
|
341
341
|
|
|
342
342
|
This method makes a synchronous HTTP request by default. To make an
|
|
343
343
|
asynchronous HTTP request, please pass async_req=True
|
|
344
|
-
>>> thread = api.compare_assemblies(
|
|
344
|
+
>>> thread = api.compare_assemblies(assembly_a_id, assembly_b_id, async_req=True)
|
|
345
345
|
>>> result = thread.get()
|
|
346
346
|
|
|
347
347
|
:param async_req bool
|
|
348
|
-
:param str
|
|
349
|
-
:param str
|
|
348
|
+
:param str assembly_a_id: Assembly A unique Id (required)
|
|
349
|
+
:param str assembly_b_id: Assembly B unique Id (required)
|
|
350
350
|
:param CompareOptions compare_options: The import options. You can leave options empty. By defaut, there will be no filter and no file export. To apply a filter you have to fill ParametersSelectionFilters and ExcludeParametersInSelection. To export a file you must fill OutPathFilePath. The file extension will be automatically replaced by the good one. DiffGroup allows you to select the content of the diff file generated. You can choose A or B. By default B is selected.
|
|
351
351
|
:return: list[CompareResultDetail]
|
|
352
352
|
If the method is called asynchronously,
|
|
@@ -354,29 +354,29 @@ class AssemblyApi(object):
|
|
|
354
354
|
"""
|
|
355
355
|
kwargs['_return_http_data_only'] = True
|
|
356
356
|
if kwargs.get('async_req'):
|
|
357
|
-
return self.compare_assemblies_with_http_info(
|
|
357
|
+
return self.compare_assemblies_with_http_info(assembly_a_id, assembly_b_id, **kwargs) # noqa: E501
|
|
358
358
|
else:
|
|
359
|
-
(data) = self.compare_assemblies_with_http_info(
|
|
359
|
+
(data) = self.compare_assemblies_with_http_info(assembly_a_id, assembly_b_id, **kwargs) # noqa: E501
|
|
360
360
|
return data
|
|
361
361
|
|
|
362
|
-
def compare_assemblies_with_http_info(self,
|
|
362
|
+
def compare_assemblies_with_http_info(self, assembly_a_id, assembly_b_id, **kwargs): # noqa: E501
|
|
363
363
|
"""[Command] Compare 2 assemblies # noqa: E501
|
|
364
364
|
|
|
365
365
|
This method makes a synchronous HTTP request by default. To make an
|
|
366
366
|
asynchronous HTTP request, please pass async_req=True
|
|
367
|
-
>>> thread = api.compare_assemblies_with_http_info(
|
|
367
|
+
>>> thread = api.compare_assemblies_with_http_info(assembly_a_id, assembly_b_id, async_req=True)
|
|
368
368
|
>>> result = thread.get()
|
|
369
369
|
|
|
370
370
|
:param async_req bool
|
|
371
|
-
:param str
|
|
372
|
-
:param str
|
|
371
|
+
:param str assembly_a_id: Assembly A unique Id (required)
|
|
372
|
+
:param str assembly_b_id: Assembly B unique Id (required)
|
|
373
373
|
:param CompareOptions compare_options: The import options. You can leave options empty. By defaut, there will be no filter and no file export. To apply a filter you have to fill ParametersSelectionFilters and ExcludeParametersInSelection. To export a file you must fill OutPathFilePath. The file extension will be automatically replaced by the good one. DiffGroup allows you to select the content of the diff file generated. You can choose A or B. By default B is selected.
|
|
374
374
|
:return: list[CompareResultDetail]
|
|
375
375
|
If the method is called asynchronously,
|
|
376
376
|
returns the request thread.
|
|
377
377
|
"""
|
|
378
378
|
|
|
379
|
-
all_params = ['
|
|
379
|
+
all_params = ['assembly_a_id', 'assembly_b_id', 'compare_options'] # noqa: E501
|
|
380
380
|
all_params.append('async_req')
|
|
381
381
|
all_params.append('_return_http_data_only')
|
|
382
382
|
all_params.append('_preload_content')
|
|
@@ -391,24 +391,24 @@ class AssemblyApi(object):
|
|
|
391
391
|
)
|
|
392
392
|
params[key] = val
|
|
393
393
|
del params['kwargs']
|
|
394
|
-
# verify the required parameter '
|
|
395
|
-
if self.api_client.client_side_validation and ('
|
|
396
|
-
params['
|
|
397
|
-
raise ValueError("Missing the required parameter `
|
|
398
|
-
# verify the required parameter '
|
|
399
|
-
if self.api_client.client_side_validation and ('
|
|
400
|
-
params['
|
|
401
|
-
raise ValueError("Missing the required parameter `
|
|
394
|
+
# verify the required parameter 'assembly_a_id' is set
|
|
395
|
+
if self.api_client.client_side_validation and ('assembly_a_id' not in params or
|
|
396
|
+
params['assembly_a_id'] is None): # noqa: E501
|
|
397
|
+
raise ValueError("Missing the required parameter `assembly_a_id` when calling `compare_assemblies`") # noqa: E501
|
|
398
|
+
# verify the required parameter 'assembly_b_id' is set
|
|
399
|
+
if self.api_client.client_side_validation and ('assembly_b_id' not in params or
|
|
400
|
+
params['assembly_b_id'] is None): # noqa: E501
|
|
401
|
+
raise ValueError("Missing the required parameter `assembly_b_id` when calling `compare_assemblies`") # noqa: E501
|
|
402
402
|
|
|
403
403
|
collection_formats = {}
|
|
404
404
|
|
|
405
405
|
path_params = {}
|
|
406
406
|
|
|
407
407
|
query_params = []
|
|
408
|
-
if '
|
|
409
|
-
query_params.append(('assemblyAId', params['
|
|
410
|
-
if '
|
|
411
|
-
query_params.append(('assemblyBId', params['
|
|
408
|
+
if 'assembly_a_id' in params:
|
|
409
|
+
query_params.append(('assemblyAId', params['assembly_a_id'])) # noqa: E501
|
|
410
|
+
if 'assembly_b_id' in params:
|
|
411
|
+
query_params.append(('assemblyBId', params['assembly_b_id'])) # noqa: E501
|
|
412
412
|
|
|
413
413
|
header_params = {}
|
|
414
414
|
|
|
@@ -1412,6 +1412,115 @@ class IssueApi(object):
|
|
|
1412
1412
|
_request_timeout=params.get('_request_timeout'),
|
|
1413
1413
|
collection_formats=collection_formats)
|
|
1414
1414
|
|
|
1415
|
+
def link_issue_value_field(self, issue_id, model_field_id, parent_item_id, **kwargs): # noqa: E501
|
|
1416
|
+
"""[Command] Link an issue to a value field # noqa: E501
|
|
1417
|
+
|
|
1418
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1419
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1420
|
+
>>> thread = api.link_issue_value_field(issue_id, model_field_id, parent_item_id, async_req=True)
|
|
1421
|
+
>>> result = thread.get()
|
|
1422
|
+
|
|
1423
|
+
:param async_req bool
|
|
1424
|
+
:param str issue_id: The IssueId of the Issue to link (required)
|
|
1425
|
+
:param str model_field_id: The model field id for the value field you want to get linked to the issue (required)
|
|
1426
|
+
:param str parent_item_id: The parent item id for the value field you want to get linked to the issue (required)
|
|
1427
|
+
:return: None
|
|
1428
|
+
If the method is called asynchronously,
|
|
1429
|
+
returns the request thread.
|
|
1430
|
+
"""
|
|
1431
|
+
kwargs['_return_http_data_only'] = True
|
|
1432
|
+
if kwargs.get('async_req'):
|
|
1433
|
+
return self.link_issue_value_field_with_http_info(issue_id, model_field_id, parent_item_id, **kwargs) # noqa: E501
|
|
1434
|
+
else:
|
|
1435
|
+
(data) = self.link_issue_value_field_with_http_info(issue_id, model_field_id, parent_item_id, **kwargs) # noqa: E501
|
|
1436
|
+
return data
|
|
1437
|
+
|
|
1438
|
+
def link_issue_value_field_with_http_info(self, issue_id, model_field_id, parent_item_id, **kwargs): # noqa: E501
|
|
1439
|
+
"""[Command] Link an issue to a value field # noqa: E501
|
|
1440
|
+
|
|
1441
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1442
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1443
|
+
>>> thread = api.link_issue_value_field_with_http_info(issue_id, model_field_id, parent_item_id, async_req=True)
|
|
1444
|
+
>>> result = thread.get()
|
|
1445
|
+
|
|
1446
|
+
:param async_req bool
|
|
1447
|
+
:param str issue_id: The IssueId of the Issue to link (required)
|
|
1448
|
+
:param str model_field_id: The model field id for the value field you want to get linked to the issue (required)
|
|
1449
|
+
:param str parent_item_id: The parent item id for the value field you want to get linked to the issue (required)
|
|
1450
|
+
:return: None
|
|
1451
|
+
If the method is called asynchronously,
|
|
1452
|
+
returns the request thread.
|
|
1453
|
+
"""
|
|
1454
|
+
|
|
1455
|
+
all_params = ['issue_id', 'model_field_id', 'parent_item_id'] # noqa: E501
|
|
1456
|
+
all_params.append('async_req')
|
|
1457
|
+
all_params.append('_return_http_data_only')
|
|
1458
|
+
all_params.append('_preload_content')
|
|
1459
|
+
all_params.append('_request_timeout')
|
|
1460
|
+
|
|
1461
|
+
params = locals()
|
|
1462
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1463
|
+
if key not in all_params:
|
|
1464
|
+
raise TypeError(
|
|
1465
|
+
"Got an unexpected keyword argument '%s'"
|
|
1466
|
+
" to method link_issue_value_field" % key
|
|
1467
|
+
)
|
|
1468
|
+
params[key] = val
|
|
1469
|
+
del params['kwargs']
|
|
1470
|
+
# verify the required parameter 'issue_id' is set
|
|
1471
|
+
if self.api_client.client_side_validation and ('issue_id' not in params or
|
|
1472
|
+
params['issue_id'] is None): # noqa: E501
|
|
1473
|
+
raise ValueError("Missing the required parameter `issue_id` when calling `link_issue_value_field`") # noqa: E501
|
|
1474
|
+
# verify the required parameter 'model_field_id' is set
|
|
1475
|
+
if self.api_client.client_side_validation and ('model_field_id' not in params or
|
|
1476
|
+
params['model_field_id'] is None): # noqa: E501
|
|
1477
|
+
raise ValueError("Missing the required parameter `model_field_id` when calling `link_issue_value_field`") # noqa: E501
|
|
1478
|
+
# verify the required parameter 'parent_item_id' is set
|
|
1479
|
+
if self.api_client.client_side_validation and ('parent_item_id' not in params or
|
|
1480
|
+
params['parent_item_id'] is None): # noqa: E501
|
|
1481
|
+
raise ValueError("Missing the required parameter `parent_item_id` when calling `link_issue_value_field`") # noqa: E501
|
|
1482
|
+
|
|
1483
|
+
collection_formats = {}
|
|
1484
|
+
|
|
1485
|
+
path_params = {}
|
|
1486
|
+
if 'issue_id' in params:
|
|
1487
|
+
path_params['issueId'] = params['issue_id'] # noqa: E501
|
|
1488
|
+
|
|
1489
|
+
query_params = []
|
|
1490
|
+
if 'model_field_id' in params:
|
|
1491
|
+
query_params.append(('modelFieldId', params['model_field_id'])) # noqa: E501
|
|
1492
|
+
if 'parent_item_id' in params:
|
|
1493
|
+
query_params.append(('parentItemId', params['parent_item_id'])) # noqa: E501
|
|
1494
|
+
|
|
1495
|
+
header_params = {}
|
|
1496
|
+
|
|
1497
|
+
form_params = []
|
|
1498
|
+
local_var_files = {}
|
|
1499
|
+
|
|
1500
|
+
body_params = None
|
|
1501
|
+
# HTTP header `Accept`
|
|
1502
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1503
|
+
['application/json', 'text/json']) # noqa: E501
|
|
1504
|
+
|
|
1505
|
+
# Authentication setting
|
|
1506
|
+
auth_settings = [] # noqa: E501
|
|
1507
|
+
|
|
1508
|
+
return self.api_client.call_api(
|
|
1509
|
+
'/teamdbapi/v2.0/issue/{issueId}/linkValueField', 'POST',
|
|
1510
|
+
path_params,
|
|
1511
|
+
query_params,
|
|
1512
|
+
header_params,
|
|
1513
|
+
body=body_params,
|
|
1514
|
+
post_params=form_params,
|
|
1515
|
+
files=local_var_files,
|
|
1516
|
+
response_type=None, # noqa: E501
|
|
1517
|
+
auth_settings=auth_settings,
|
|
1518
|
+
async_req=params.get('async_req'),
|
|
1519
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1520
|
+
_preload_content=params.get('_preload_content', True),
|
|
1521
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1522
|
+
collection_formats=collection_formats)
|
|
1523
|
+
|
|
1415
1524
|
def unlink_child_issue(self, issue_id, child_issues_to_unlink, **kwargs): # noqa: E501
|
|
1416
1525
|
"""[Command] Unlink a child issue # noqa: E501
|
|
1417
1526
|
|
|
@@ -53,7 +53,8 @@ class Issue(object):
|
|
|
53
53
|
'OwnerName': 'str',
|
|
54
54
|
'Sector': 'IssueSector',
|
|
55
55
|
'Occurrence': 'int',
|
|
56
|
-
'CustomFields': 'list[IssueCustomFieldValue]'
|
|
56
|
+
'CustomFields': 'list[IssueCustomFieldValue]',
|
|
57
|
+
'Watchers': 'list[str]'
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
attribute_map = {
|
|
@@ -77,10 +78,11 @@ class Issue(object):
|
|
|
77
78
|
'OwnerName': 'OwnerName',
|
|
78
79
|
'Sector': 'Sector',
|
|
79
80
|
'Occurrence': 'Occurrence',
|
|
80
|
-
'CustomFields': 'CustomFields'
|
|
81
|
+
'CustomFields': 'CustomFields',
|
|
82
|
+
'Watchers': 'Watchers'
|
|
81
83
|
}
|
|
82
84
|
|
|
83
|
-
def __init__(self, IssueId=None, HumanId=None, Priority=None, Summary=None, RichDescription=None, CreatorName=None, UpdatorName=None, Type=None, CreationDate=None, UpdatedDate=None, EventId=None, CarId=None, SessionId=None, RunId=None, LapId=None, Project=None, Status=None, OwnerName=None, Sector=None, Occurrence=None, CustomFields=None, _configuration=None): # noqa: E501
|
|
85
|
+
def __init__(self, IssueId=None, HumanId=None, Priority=None, Summary=None, RichDescription=None, CreatorName=None, UpdatorName=None, Type=None, CreationDate=None, UpdatedDate=None, EventId=None, CarId=None, SessionId=None, RunId=None, LapId=None, Project=None, Status=None, OwnerName=None, Sector=None, Occurrence=None, CustomFields=None, Watchers=None, _configuration=None): # noqa: E501
|
|
84
86
|
"""Issue - a model defined in Swagger""" # noqa: E501
|
|
85
87
|
if _configuration is None:
|
|
86
88
|
_configuration = Configuration()
|
|
@@ -107,6 +109,7 @@ class Issue(object):
|
|
|
107
109
|
self._Sector = None
|
|
108
110
|
self._Occurrence = None
|
|
109
111
|
self._CustomFields = None
|
|
112
|
+
self._Watchers = None
|
|
110
113
|
self.discriminator = None
|
|
111
114
|
|
|
112
115
|
self.IssueId = IssueId
|
|
@@ -146,6 +149,8 @@ class Issue(object):
|
|
|
146
149
|
self.Occurrence = Occurrence
|
|
147
150
|
if CustomFields is not None:
|
|
148
151
|
self.CustomFields = CustomFields
|
|
152
|
+
if Watchers is not None:
|
|
153
|
+
self.Watchers = Watchers
|
|
149
154
|
|
|
150
155
|
@property
|
|
151
156
|
def IssueId(self):
|
|
@@ -630,6 +635,29 @@ class Issue(object):
|
|
|
630
635
|
|
|
631
636
|
self._CustomFields = CustomFields
|
|
632
637
|
|
|
638
|
+
@property
|
|
639
|
+
def Watchers(self):
|
|
640
|
+
"""Gets the Watchers of this Issue. # noqa: E501
|
|
641
|
+
|
|
642
|
+
List of users that can watch the issue # noqa: E501
|
|
643
|
+
|
|
644
|
+
:return: The Watchers of this Issue. # noqa: E501
|
|
645
|
+
:rtype: list[str]
|
|
646
|
+
"""
|
|
647
|
+
return self._Watchers
|
|
648
|
+
|
|
649
|
+
@Watchers.setter
|
|
650
|
+
def Watchers(self, Watchers):
|
|
651
|
+
"""Sets the Watchers of this Issue.
|
|
652
|
+
|
|
653
|
+
List of users that can watch the issue # noqa: E501
|
|
654
|
+
|
|
655
|
+
:param Watchers: The Watchers of this Issue. # noqa: E501
|
|
656
|
+
:type: list[str]
|
|
657
|
+
"""
|
|
658
|
+
|
|
659
|
+
self._Watchers = Watchers
|
|
660
|
+
|
|
633
661
|
def to_dict(self):
|
|
634
662
|
"""Returns the model properties as a dict"""
|
|
635
663
|
result = {}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.4.44
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|