teamdbapi 3.9.0__tar.gz → 3.10.0__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.9.0 → teamdbapi-3.10.0}/.swagger-codegen-ignore +23 -23
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/PKG-INFO +3 -3
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/README.md +2 -2
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/pyproject.toml +1 -1
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/issue_api.py +109 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/issue.py +31 -3
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/.gitignore +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/.swagger-codegen/VERSION +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/.travis.yml +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/LICENSE +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/git_push.sh +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/requirements.txt +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/setup.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/__init__.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/__init__.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/assembly_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/car_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/component_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/config_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/criteria_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/edit_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/event_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/fixed_field_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/group_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/import_export_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/lap_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/lap_report_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/model_field_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/mounting_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/notes_authorization_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/overall_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/parameter_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/parameter_binding_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/part_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/report_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/revision_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/revision_editor_selector_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/run_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/script_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/session_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/target_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/team_db_list_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/team_db_view_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/tire_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/tire_set_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/track_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/track_layout_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/update_request_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/user_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/value_field_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api/version_api.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/api_client.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/configuration.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/__init__.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/add_part_car_parameter_arg.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/assembly.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/bleed_adjustment.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/calibration.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/car.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/car_parameters_context.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/compare_options.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/compare_result.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/compare_result_detail.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/component.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/copy_from_tags_args.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/couple_guid_text.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/criteria.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/criteria_set.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/criteria_value.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/criteria_value_detail.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/event.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/file_revision_info.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/fixed_field.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/group.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/import_parameters_args.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/import_parameters_results.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/import_revisions_args.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/import_revisions_info.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/import_revisions_results.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/issue_custom_field_value.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/issue_priority.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/issue_project.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/issue_sector.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/issue_status.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/issue_type.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/issue_workflow.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/item_value.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/item_value_key.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/lap.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/lap_report_options.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/model_field.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/model_field_authorization.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/mounting.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/notes_authorization.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/notes_context.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/overall.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/parameter.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/parameter_binding.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/parameter_cross_table.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/part.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/part_car_parameters.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/part_count.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/revision.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/revision_value.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/run.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/script.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/session.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/string_with_font_style.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/target.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/team_db_list.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/team_db_list_item.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/tire.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/tire_set.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/track.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/track_layout.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/user.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/user_group.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/value_field.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/models/version.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/teamdbapi/rest.py +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/test-requirements.txt +0 -0
- {teamdbapi-3.9.0 → teamdbapi-3.10.0}/tox.ini +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
# Swagger Codegen Ignore
|
|
2
|
-
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
|
|
3
|
-
|
|
4
|
-
# Use this file to prevent files from being overwritten by the generator.
|
|
5
|
-
# The patterns follow closely to .gitignore or .dockerignore.
|
|
6
|
-
|
|
7
|
-
# As an example, the C# client generator defines ApiClient.cs.
|
|
8
|
-
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
|
|
9
|
-
#ApiClient.cs
|
|
10
|
-
|
|
11
|
-
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
12
|
-
#foo/*/qux
|
|
13
|
-
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
14
|
-
|
|
15
|
-
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
16
|
-
#foo/**/qux
|
|
17
|
-
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
18
|
-
|
|
19
|
-
# You can also negate patterns with an exclamation (!).
|
|
20
|
-
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
21
|
-
#docs/*.md
|
|
22
|
-
# Then explicitly reverse the ignore rule for a single file:
|
|
23
|
-
#!docs/README.md
|
|
1
|
+
# Swagger Codegen Ignore
|
|
2
|
+
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
|
|
3
|
+
|
|
4
|
+
# Use this file to prevent files from being overwritten by the generator.
|
|
5
|
+
# The patterns follow closely to .gitignore or .dockerignore.
|
|
6
|
+
|
|
7
|
+
# As an example, the C# client generator defines ApiClient.cs.
|
|
8
|
+
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
|
|
9
|
+
#ApiClient.cs
|
|
10
|
+
|
|
11
|
+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
12
|
+
#foo/*/qux
|
|
13
|
+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
14
|
+
|
|
15
|
+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
16
|
+
#foo/**/qux
|
|
17
|
+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
18
|
+
|
|
19
|
+
# You can also negate patterns with an exclamation (!).
|
|
20
|
+
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
21
|
+
#docs/*.md
|
|
22
|
+
# Then explicitly reverse the ignore rule for a single file:
|
|
23
|
+
#!docs/README.md
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: teamdbapi
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.10.0
|
|
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>
|
|
@@ -20,13 +20,13 @@ Project-URL: Home, https://www.tracksidesoftware.fr/teamdb
|
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
11
11
|
|
|
12
12
|
## <a name="install">Installation and usage</a>
|
|
13
13
|
### pip install
|
|
@@ -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 = {}
|
|
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
|
|
File without changes
|
|
File without changes
|