teamdbapi 2.37.1__py3-none-any.whl → 3.0.0__py3-none-any.whl
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/__init__.py +11 -0
- teamdbapi/api/__init__.py +39 -34
- teamdbapi/api/assembly_api.py +2108 -2108
- teamdbapi/api/car_api.py +874 -874
- teamdbapi/api/component_api.py +954 -0
- teamdbapi/api/config_api.py +118 -118
- teamdbapi/api/criteria_api.py +126 -0
- teamdbapi/api/edit_api.py +433 -433
- teamdbapi/api/event_api.py +878 -878
- teamdbapi/api/fixed_field_api.py +320 -320
- teamdbapi/api/group_api.py +609 -609
- teamdbapi/api/import_export_api.py +828 -743
- teamdbapi/api/lap_api.py +708 -708
- teamdbapi/api/lap_report_api.py +490 -486
- teamdbapi/api/model_field_api.py +708 -708
- teamdbapi/api/mounting_api.py +219 -0
- teamdbapi/api/notes_authorization_api.py +324 -324
- teamdbapi/api/parameter_api.py +1176 -1176
- teamdbapi/api/part_api.py +304 -0
- teamdbapi/api/report_api.py +142 -142
- teamdbapi/api/revision_api.py +1420 -1420
- teamdbapi/api/revision_editor_selector_api.py +990 -990
- teamdbapi/api/run_api.py +603 -603
- teamdbapi/api/script_api.py +490 -490
- teamdbapi/api/session_api.py +720 -720
- teamdbapi/api/target_api.py +415 -415
- teamdbapi/api/team_db_list_api.py +987 -987
- teamdbapi/api/team_db_view_api.py +482 -482
- teamdbapi/api/tire_api.py +599 -599
- teamdbapi/api/tire_set_api.py +514 -514
- teamdbapi/api/track_api.py +506 -506
- teamdbapi/api/track_layout_api.py +514 -514
- teamdbapi/api/update_request_api.py +235 -0
- teamdbapi/api/user_api.py +474 -474
- teamdbapi/api/value_field_api.py +558 -558
- teamdbapi/api/version_api.py +449 -449
- teamdbapi/api_client.py +4 -8
- teamdbapi/configuration.py +6 -13
- teamdbapi/models/__init__.py +6 -0
- teamdbapi/models/assembly.py +1 -0
- teamdbapi/models/bleed_adjustment.py +1 -0
- teamdbapi/models/calibration.py +1 -0
- teamdbapi/models/car.py +1 -0
- teamdbapi/models/car_parameters_context.py +1 -0
- teamdbapi/models/compare_options.py +1 -0
- teamdbapi/models/compare_result.py +1 -0
- teamdbapi/models/compare_result_detail.py +2 -0
- teamdbapi/models/component.py +1217 -0
- teamdbapi/models/copy_from_tags_args.py +2 -0
- teamdbapi/models/couple_guid_text.py +1 -0
- teamdbapi/models/criteria.py +430 -0
- teamdbapi/models/criteria_value.py +197 -0
- teamdbapi/models/event.py +1 -0
- teamdbapi/models/fixed_field.py +2 -1
- teamdbapi/models/group.py +1 -0
- teamdbapi/models/import_parameters_args.py +1 -0
- teamdbapi/models/import_parameters_results.py +2 -0
- teamdbapi/models/item_value.py +1 -0
- teamdbapi/models/item_value_key.py +1 -0
- teamdbapi/models/lap.py +1 -0
- teamdbapi/models/lap_report_options.py +1 -0
- teamdbapi/models/model_field.py +3 -1
- teamdbapi/models/model_field_authorization.py +1 -0
- teamdbapi/models/mounting.py +489 -0
- teamdbapi/models/notes_authorization.py +1 -0
- teamdbapi/models/notes_context.py +1 -0
- teamdbapi/models/parameter.py +2 -0
- teamdbapi/models/parameter_cross_table.py +1 -0
- teamdbapi/models/part.py +963 -0
- teamdbapi/models/part_count.py +228 -0
- teamdbapi/models/problem_details.py +2 -6
- teamdbapi/models/revision.py +88 -3
- teamdbapi/models/revision_value.py +1 -0
- teamdbapi/models/run.py +1 -0
- teamdbapi/models/script.py +1 -0
- teamdbapi/models/session.py +1 -0
- teamdbapi/models/string_with_font_style.py +1 -0
- teamdbapi/models/target.py +64 -7
- teamdbapi/models/team_db_list.py +1 -0
- teamdbapi/models/team_db_list_item.py +1 -0
- teamdbapi/models/tire.py +2 -0
- teamdbapi/models/tire_set.py +2 -0
- teamdbapi/models/track.py +1 -0
- teamdbapi/models/track_layout.py +1 -0
- teamdbapi/models/user.py +1 -0
- teamdbapi/models/user_group.py +1 -0
- teamdbapi/models/value_field.py +1 -0
- teamdbapi/models/version.py +1 -0
- teamdbapi/rest.py +6 -1
- {teamdbapi-2.37.1.dist-info → teamdbapi-3.0.0.dist-info}/METADATA +5 -5
- teamdbapi-3.0.0.dist-info/RECORD +93 -0
- teamdbapi-2.37.1.dist-info/RECORD +0 -82
- {teamdbapi-2.37.1.dist-info → teamdbapi-3.0.0.dist-info}/LICENSE +0 -0
- {teamdbapi-2.37.1.dist-info → teamdbapi-3.0.0.dist-info}/WHEEL +0 -0
|
@@ -1,990 +1,990 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Trackside Software TeamDB API v2.0
|
|
5
|
-
|
|
6
|
-
This API enables you to access TeamDB data # noqa: E501
|
|
7
|
-
|
|
8
|
-
OpenAPI spec version: 2.0
|
|
9
|
-
Contact: support@trackside.fr
|
|
10
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
-
"""
|
|
12
|
-
|
|
13
|
-
from __future__ import absolute_import
|
|
14
|
-
|
|
15
|
-
import re # noqa: F401
|
|
16
|
-
|
|
17
|
-
# python 2 and python 3 compatibility library
|
|
18
|
-
import six
|
|
19
|
-
|
|
20
|
-
from teamdbapi.api_client import ApiClient
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class RevisionEditorSelectorApi(object):
|
|
24
|
-
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
25
|
-
|
|
26
|
-
Do not edit the class manually.
|
|
27
|
-
Ref: https://github.com/swagger-api/swagger-codegen
|
|
28
|
-
"""
|
|
29
|
-
|
|
30
|
-
def __init__(self, api_client=None):
|
|
31
|
-
if api_client is None:
|
|
32
|
-
api_client = ApiClient()
|
|
33
|
-
self.api_client = api_client
|
|
34
|
-
|
|
35
|
-
def clear_revision_selector_filters(self, event_id, target_id, **kwargs): # noqa: E501
|
|
36
|
-
"""[Command] Clear a tags list for an event and a target in order to filter the revision selector fields displayed on the drop down # noqa: E501
|
|
37
|
-
|
|
38
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
39
|
-
asynchronous HTTP request, please pass async_req=True
|
|
40
|
-
>>> thread = api.clear_revision_selector_filters(event_id, target_id, async_req=True)
|
|
41
|
-
>>> result = thread.get()
|
|
42
|
-
|
|
43
|
-
:param async_req bool
|
|
44
|
-
:param str event_id: The event unique id for which you want to clear the tags list (required)
|
|
45
|
-
:param str target_id: The target unique id for which you want to clear the tags list (required)
|
|
46
|
-
:return: None
|
|
47
|
-
If the method is called asynchronously,
|
|
48
|
-
returns the request thread.
|
|
49
|
-
"""
|
|
50
|
-
kwargs['_return_http_data_only'] = True
|
|
51
|
-
if kwargs.get('async_req'):
|
|
52
|
-
return self.clear_revision_selector_filters_with_http_info(event_id, target_id, **kwargs) # noqa: E501
|
|
53
|
-
else:
|
|
54
|
-
(data) = self.clear_revision_selector_filters_with_http_info(event_id, target_id, **kwargs) # noqa: E501
|
|
55
|
-
return data
|
|
56
|
-
|
|
57
|
-
def clear_revision_selector_filters_with_http_info(self, event_id, target_id, **kwargs): # noqa: E501
|
|
58
|
-
"""[Command] Clear a tags list for an event and a target in order to filter the revision selector fields displayed on the drop down # noqa: E501
|
|
59
|
-
|
|
60
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
61
|
-
asynchronous HTTP request, please pass async_req=True
|
|
62
|
-
>>> thread = api.clear_revision_selector_filters_with_http_info(event_id, target_id, async_req=True)
|
|
63
|
-
>>> result = thread.get()
|
|
64
|
-
|
|
65
|
-
:param async_req bool
|
|
66
|
-
:param str event_id: The event unique id for which you want to clear the tags list (required)
|
|
67
|
-
:param str target_id: The target unique id for which you want to clear the tags list (required)
|
|
68
|
-
:return: None
|
|
69
|
-
If the method is called asynchronously,
|
|
70
|
-
returns the request thread.
|
|
71
|
-
"""
|
|
72
|
-
|
|
73
|
-
all_params = ['event_id', 'target_id'] # noqa: E501
|
|
74
|
-
all_params.append('async_req')
|
|
75
|
-
all_params.append('_return_http_data_only')
|
|
76
|
-
all_params.append('_preload_content')
|
|
77
|
-
all_params.append('_request_timeout')
|
|
78
|
-
|
|
79
|
-
params = locals()
|
|
80
|
-
for key, val in six.iteritems(params['kwargs']):
|
|
81
|
-
if key not in all_params:
|
|
82
|
-
raise TypeError(
|
|
83
|
-
"Got an unexpected keyword argument '%s'"
|
|
84
|
-
" to method clear_revision_selector_filters" % key
|
|
85
|
-
)
|
|
86
|
-
params[key] = val
|
|
87
|
-
del params['kwargs']
|
|
88
|
-
# verify the required parameter 'event_id' is set
|
|
89
|
-
if ('event_id' not in params or
|
|
90
|
-
params['event_id'] is None):
|
|
91
|
-
raise ValueError("Missing the required parameter `event_id` when calling `clear_revision_selector_filters`") # noqa: E501
|
|
92
|
-
# verify the required parameter 'target_id' is set
|
|
93
|
-
if ('target_id' not in params or
|
|
94
|
-
params['target_id'] is None):
|
|
95
|
-
raise ValueError("Missing the required parameter `target_id` when calling `clear_revision_selector_filters`") # noqa: E501
|
|
96
|
-
|
|
97
|
-
collection_formats = {}
|
|
98
|
-
|
|
99
|
-
path_params = {}
|
|
100
|
-
if 'event_id' in params:
|
|
101
|
-
path_params['eventId'] = params['event_id'] # noqa: E501
|
|
102
|
-
|
|
103
|
-
query_params = []
|
|
104
|
-
if 'target_id' in params:
|
|
105
|
-
query_params.append(('targetId', params['target_id'])) # noqa: E501
|
|
106
|
-
|
|
107
|
-
header_params = {}
|
|
108
|
-
|
|
109
|
-
form_params = []
|
|
110
|
-
local_var_files = {}
|
|
111
|
-
|
|
112
|
-
body_params = None
|
|
113
|
-
# HTTP header `Accept`
|
|
114
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
115
|
-
['application/json', 'text/json']) # noqa: E501
|
|
116
|
-
|
|
117
|
-
# Authentication setting
|
|
118
|
-
auth_settings = [] # noqa: E501
|
|
119
|
-
|
|
120
|
-
return self.api_client.call_api(
|
|
121
|
-
'/teamdbapi/v2.0/event/{eventId}/clearrevisionselectorfilters', 'POST',
|
|
122
|
-
path_params,
|
|
123
|
-
query_params,
|
|
124
|
-
header_params,
|
|
125
|
-
body=body_params,
|
|
126
|
-
post_params=form_params,
|
|
127
|
-
files=local_var_files,
|
|
128
|
-
response_type=None, # noqa: E501
|
|
129
|
-
auth_settings=auth_settings,
|
|
130
|
-
async_req=params.get('async_req'),
|
|
131
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
|
132
|
-
_preload_content=params.get('_preload_content', True),
|
|
133
|
-
_request_timeout=params.get('_request_timeout'),
|
|
134
|
-
collection_formats=collection_formats)
|
|
135
|
-
|
|
136
|
-
def get_revision_editor_value(self, model_field_id, parent_item_id, **kwargs): # noqa: E501
|
|
137
|
-
"""Get the value of a RevisionEditor field depending on a model field id and a parent item Id (that corresponds to the run Id). Important notice : RevisionEditor fields work only with Single value Parameters. 2D and 3D Parameters are not supported. # noqa: E501
|
|
138
|
-
|
|
139
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
140
|
-
asynchronous HTTP request, please pass async_req=True
|
|
141
|
-
>>> thread = api.get_revision_editor_value(model_field_id, parent_item_id, async_req=True)
|
|
142
|
-
>>> result = thread.get()
|
|
143
|
-
|
|
144
|
-
:param async_req bool
|
|
145
|
-
:param str model_field_id: The model field id for which you want to get the revision editor value (required)
|
|
146
|
-
:param str parent_item_id: The parent item id (run id) for which you want to get the revision editor value (required)
|
|
147
|
-
:return: object
|
|
148
|
-
If the method is called asynchronously,
|
|
149
|
-
returns the request thread.
|
|
150
|
-
"""
|
|
151
|
-
kwargs['_return_http_data_only'] = True
|
|
152
|
-
if kwargs.get('async_req'):
|
|
153
|
-
return self.get_revision_editor_value_with_http_info(model_field_id, parent_item_id, **kwargs) # noqa: E501
|
|
154
|
-
else:
|
|
155
|
-
(data) = self.get_revision_editor_value_with_http_info(model_field_id, parent_item_id, **kwargs) # noqa: E501
|
|
156
|
-
return data
|
|
157
|
-
|
|
158
|
-
def get_revision_editor_value_with_http_info(self, model_field_id, parent_item_id, **kwargs): # noqa: E501
|
|
159
|
-
"""Get the value of a RevisionEditor field depending on a model field id and a parent item Id (that corresponds to the run Id). Important notice : RevisionEditor fields work only with Single value Parameters. 2D and 3D Parameters are not supported. # noqa: E501
|
|
160
|
-
|
|
161
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
162
|
-
asynchronous HTTP request, please pass async_req=True
|
|
163
|
-
>>> thread = api.get_revision_editor_value_with_http_info(model_field_id, parent_item_id, async_req=True)
|
|
164
|
-
>>> result = thread.get()
|
|
165
|
-
|
|
166
|
-
:param async_req bool
|
|
167
|
-
:param str model_field_id: The model field id for which you want to get the revision editor value (required)
|
|
168
|
-
:param str parent_item_id: The parent item id (run id) for which you want to get the revision editor value (required)
|
|
169
|
-
:return: object
|
|
170
|
-
If the method is called asynchronously,
|
|
171
|
-
returns the request thread.
|
|
172
|
-
"""
|
|
173
|
-
|
|
174
|
-
all_params = ['model_field_id', 'parent_item_id'] # noqa: E501
|
|
175
|
-
all_params.append('async_req')
|
|
176
|
-
all_params.append('_return_http_data_only')
|
|
177
|
-
all_params.append('_preload_content')
|
|
178
|
-
all_params.append('_request_timeout')
|
|
179
|
-
|
|
180
|
-
params = locals()
|
|
181
|
-
for key, val in six.iteritems(params['kwargs']):
|
|
182
|
-
if key not in all_params:
|
|
183
|
-
raise TypeError(
|
|
184
|
-
"Got an unexpected keyword argument '%s'"
|
|
185
|
-
" to method get_revision_editor_value" % key
|
|
186
|
-
)
|
|
187
|
-
params[key] = val
|
|
188
|
-
del params['kwargs']
|
|
189
|
-
# verify the required parameter 'model_field_id' is set
|
|
190
|
-
if ('model_field_id' not in params or
|
|
191
|
-
params['model_field_id'] is None):
|
|
192
|
-
raise ValueError("Missing the required parameter `model_field_id` when calling `get_revision_editor_value`") # noqa: E501
|
|
193
|
-
# verify the required parameter 'parent_item_id' is set
|
|
194
|
-
if ('parent_item_id' not in params or
|
|
195
|
-
params['parent_item_id'] is None):
|
|
196
|
-
raise ValueError("Missing the required parameter `parent_item_id` when calling `get_revision_editor_value`") # noqa: E501
|
|
197
|
-
|
|
198
|
-
collection_formats = {}
|
|
199
|
-
|
|
200
|
-
path_params = {}
|
|
201
|
-
if 'model_field_id' in params:
|
|
202
|
-
path_params['modelFieldId'] = params['model_field_id'] # noqa: E501
|
|
203
|
-
|
|
204
|
-
query_params = []
|
|
205
|
-
if 'parent_item_id' in params:
|
|
206
|
-
query_params.append(('parentItemId', params['parent_item_id'])) # noqa: E501
|
|
207
|
-
|
|
208
|
-
header_params = {}
|
|
209
|
-
|
|
210
|
-
form_params = []
|
|
211
|
-
local_var_files = {}
|
|
212
|
-
|
|
213
|
-
body_params = None
|
|
214
|
-
# HTTP header `Accept`
|
|
215
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
216
|
-
['application/json', 'text/json']) # noqa: E501
|
|
217
|
-
|
|
218
|
-
# Authentication setting
|
|
219
|
-
auth_settings = [] # noqa: E501
|
|
220
|
-
|
|
221
|
-
return self.api_client.call_api(
|
|
222
|
-
'/teamdbapi/v2.0/modelfield/{modelFieldId}/revisioneditorvalue', 'GET',
|
|
223
|
-
path_params,
|
|
224
|
-
query_params,
|
|
225
|
-
header_params,
|
|
226
|
-
body=body_params,
|
|
227
|
-
post_params=form_params,
|
|
228
|
-
files=local_var_files,
|
|
229
|
-
response_type='object', # noqa: E501
|
|
230
|
-
auth_settings=auth_settings,
|
|
231
|
-
async_req=params.get('async_req'),
|
|
232
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
|
233
|
-
_preload_content=params.get('_preload_content', True),
|
|
234
|
-
_request_timeout=params.get('_request_timeout'),
|
|
235
|
-
collection_formats=collection_formats)
|
|
236
|
-
|
|
237
|
-
def get_revision_selector_filters(self, event_id, target_id, **kwargs): # noqa: E501
|
|
238
|
-
"""Get the tags list defined for an event and a target in order to filter the revision selector fields displayed on the drop down # noqa: E501
|
|
239
|
-
|
|
240
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
241
|
-
asynchronous HTTP request, please pass async_req=True
|
|
242
|
-
>>> thread = api.get_revision_selector_filters(event_id, target_id, async_req=True)
|
|
243
|
-
>>> result = thread.get()
|
|
244
|
-
|
|
245
|
-
:param async_req bool
|
|
246
|
-
:param str event_id: The event unique id for which you want to get the tags list (required)
|
|
247
|
-
:param str target_id: The target unique id for which you want to get the tags list (required)
|
|
248
|
-
:return: list[str]
|
|
249
|
-
If the method is called asynchronously,
|
|
250
|
-
returns the request thread.
|
|
251
|
-
"""
|
|
252
|
-
kwargs['_return_http_data_only'] = True
|
|
253
|
-
if kwargs.get('async_req'):
|
|
254
|
-
return self.get_revision_selector_filters_with_http_info(event_id, target_id, **kwargs) # noqa: E501
|
|
255
|
-
else:
|
|
256
|
-
(data) = self.get_revision_selector_filters_with_http_info(event_id, target_id, **kwargs) # noqa: E501
|
|
257
|
-
return data
|
|
258
|
-
|
|
259
|
-
def get_revision_selector_filters_with_http_info(self, event_id, target_id, **kwargs): # noqa: E501
|
|
260
|
-
"""Get the tags list defined for an event and a target in order to filter the revision selector fields displayed on the drop down # noqa: E501
|
|
261
|
-
|
|
262
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
263
|
-
asynchronous HTTP request, please pass async_req=True
|
|
264
|
-
>>> thread = api.get_revision_selector_filters_with_http_info(event_id, target_id, async_req=True)
|
|
265
|
-
>>> result = thread.get()
|
|
266
|
-
|
|
267
|
-
:param async_req bool
|
|
268
|
-
:param str event_id: The event unique id for which you want to get the tags list (required)
|
|
269
|
-
:param str target_id: The target unique id for which you want to get the tags list (required)
|
|
270
|
-
:return: list[str]
|
|
271
|
-
If the method is called asynchronously,
|
|
272
|
-
returns the request thread.
|
|
273
|
-
"""
|
|
274
|
-
|
|
275
|
-
all_params = ['event_id', 'target_id'] # noqa: E501
|
|
276
|
-
all_params.append('async_req')
|
|
277
|
-
all_params.append('_return_http_data_only')
|
|
278
|
-
all_params.append('_preload_content')
|
|
279
|
-
all_params.append('_request_timeout')
|
|
280
|
-
|
|
281
|
-
params = locals()
|
|
282
|
-
for key, val in six.iteritems(params['kwargs']):
|
|
283
|
-
if key not in all_params:
|
|
284
|
-
raise TypeError(
|
|
285
|
-
"Got an unexpected keyword argument '%s'"
|
|
286
|
-
" to method get_revision_selector_filters" % key
|
|
287
|
-
)
|
|
288
|
-
params[key] = val
|
|
289
|
-
del params['kwargs']
|
|
290
|
-
# verify the required parameter 'event_id' is set
|
|
291
|
-
if ('event_id' not in params or
|
|
292
|
-
params['event_id'] is None):
|
|
293
|
-
raise ValueError("Missing the required parameter `event_id` when calling `get_revision_selector_filters`") # noqa: E501
|
|
294
|
-
# verify the required parameter 'target_id' is set
|
|
295
|
-
if ('target_id' not in params or
|
|
296
|
-
params['target_id'] is None):
|
|
297
|
-
raise ValueError("Missing the required parameter `target_id` when calling `get_revision_selector_filters`") # noqa: E501
|
|
298
|
-
|
|
299
|
-
collection_formats = {}
|
|
300
|
-
|
|
301
|
-
path_params = {}
|
|
302
|
-
if 'event_id' in params:
|
|
303
|
-
path_params['eventId'] = params['event_id'] # noqa: E501
|
|
304
|
-
|
|
305
|
-
query_params = []
|
|
306
|
-
if 'target_id' in params:
|
|
307
|
-
query_params.append(('targetId', params['target_id'])) # noqa: E501
|
|
308
|
-
|
|
309
|
-
header_params = {}
|
|
310
|
-
|
|
311
|
-
form_params = []
|
|
312
|
-
local_var_files = {}
|
|
313
|
-
|
|
314
|
-
body_params = None
|
|
315
|
-
# HTTP header `Accept`
|
|
316
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
317
|
-
['application/json', 'text/json']) # noqa: E501
|
|
318
|
-
|
|
319
|
-
# Authentication setting
|
|
320
|
-
auth_settings = [] # noqa: E501
|
|
321
|
-
|
|
322
|
-
return self.api_client.call_api(
|
|
323
|
-
'/teamdbapi/v2.0/event/{eventId}/revisionselectorfilters', 'GET',
|
|
324
|
-
path_params,
|
|
325
|
-
query_params,
|
|
326
|
-
header_params,
|
|
327
|
-
body=body_params,
|
|
328
|
-
post_params=form_params,
|
|
329
|
-
files=local_var_files,
|
|
330
|
-
response_type='list[str]', # noqa: E501
|
|
331
|
-
auth_settings=auth_settings,
|
|
332
|
-
async_req=params.get('async_req'),
|
|
333
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
|
334
|
-
_preload_content=params.get('_preload_content', True),
|
|
335
|
-
_request_timeout=params.get('_request_timeout'),
|
|
336
|
-
collection_formats=collection_formats)
|
|
337
|
-
|
|
338
|
-
def get_revision_selector_list_of_values(self, model_field_id, parent_item_id, **kwargs): # noqa: E501
|
|
339
|
-
"""Get the list of all the available values for a RevisionSelector field depending on a model field id and a parent item Id (that corresponds to the run Id). # noqa: E501
|
|
340
|
-
|
|
341
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
342
|
-
asynchronous HTTP request, please pass async_req=True
|
|
343
|
-
>>> thread = api.get_revision_selector_list_of_values(model_field_id, parent_item_id, async_req=True)
|
|
344
|
-
>>> result = thread.get()
|
|
345
|
-
|
|
346
|
-
:param async_req bool
|
|
347
|
-
:param str model_field_id: The model field id for which you want to get the revision selector value (required)
|
|
348
|
-
:param str parent_item_id: The parent item id (run id) for which you want to get the revision selector value (required)
|
|
349
|
-
:return: list[str]
|
|
350
|
-
If the method is called asynchronously,
|
|
351
|
-
returns the request thread.
|
|
352
|
-
"""
|
|
353
|
-
kwargs['_return_http_data_only'] = True
|
|
354
|
-
if kwargs.get('async_req'):
|
|
355
|
-
return self.get_revision_selector_list_of_values_with_http_info(model_field_id, parent_item_id, **kwargs) # noqa: E501
|
|
356
|
-
else:
|
|
357
|
-
(data) = self.get_revision_selector_list_of_values_with_http_info(model_field_id, parent_item_id, **kwargs) # noqa: E501
|
|
358
|
-
return data
|
|
359
|
-
|
|
360
|
-
def get_revision_selector_list_of_values_with_http_info(self, model_field_id, parent_item_id, **kwargs): # noqa: E501
|
|
361
|
-
"""Get the list of all the available values for a RevisionSelector field depending on a model field id and a parent item Id (that corresponds to the run Id). # noqa: E501
|
|
362
|
-
|
|
363
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
364
|
-
asynchronous HTTP request, please pass async_req=True
|
|
365
|
-
>>> thread = api.get_revision_selector_list_of_values_with_http_info(model_field_id, parent_item_id, async_req=True)
|
|
366
|
-
>>> result = thread.get()
|
|
367
|
-
|
|
368
|
-
:param async_req bool
|
|
369
|
-
:param str model_field_id: The model field id for which you want to get the revision selector value (required)
|
|
370
|
-
:param str parent_item_id: The parent item id (run id) for which you want to get the revision selector value (required)
|
|
371
|
-
:return: list[str]
|
|
372
|
-
If the method is called asynchronously,
|
|
373
|
-
returns the request thread.
|
|
374
|
-
"""
|
|
375
|
-
|
|
376
|
-
all_params = ['model_field_id', 'parent_item_id'] # noqa: E501
|
|
377
|
-
all_params.append('async_req')
|
|
378
|
-
all_params.append('_return_http_data_only')
|
|
379
|
-
all_params.append('_preload_content')
|
|
380
|
-
all_params.append('_request_timeout')
|
|
381
|
-
|
|
382
|
-
params = locals()
|
|
383
|
-
for key, val in six.iteritems(params['kwargs']):
|
|
384
|
-
if key not in all_params:
|
|
385
|
-
raise TypeError(
|
|
386
|
-
"Got an unexpected keyword argument '%s'"
|
|
387
|
-
" to method get_revision_selector_list_of_values" % key
|
|
388
|
-
)
|
|
389
|
-
params[key] = val
|
|
390
|
-
del params['kwargs']
|
|
391
|
-
# verify the required parameter 'model_field_id' is set
|
|
392
|
-
if ('model_field_id' not in params or
|
|
393
|
-
params['model_field_id'] is None):
|
|
394
|
-
raise ValueError("Missing the required parameter `model_field_id` when calling `get_revision_selector_list_of_values`") # noqa: E501
|
|
395
|
-
# verify the required parameter 'parent_item_id' is set
|
|
396
|
-
if ('parent_item_id' not in params or
|
|
397
|
-
params['parent_item_id'] is None):
|
|
398
|
-
raise ValueError("Missing the required parameter `parent_item_id` when calling `get_revision_selector_list_of_values`") # noqa: E501
|
|
399
|
-
|
|
400
|
-
collection_formats = {}
|
|
401
|
-
|
|
402
|
-
path_params = {}
|
|
403
|
-
if 'model_field_id' in params:
|
|
404
|
-
path_params['modelFieldId'] = params['model_field_id'] # noqa: E501
|
|
405
|
-
|
|
406
|
-
query_params = []
|
|
407
|
-
if 'parent_item_id' in params:
|
|
408
|
-
query_params.append(('parentItemId', params['parent_item_id'])) # noqa: E501
|
|
409
|
-
|
|
410
|
-
header_params = {}
|
|
411
|
-
|
|
412
|
-
form_params = []
|
|
413
|
-
local_var_files = {}
|
|
414
|
-
|
|
415
|
-
body_params = None
|
|
416
|
-
# HTTP header `Accept`
|
|
417
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
418
|
-
['application/json', 'text/json']) # noqa: E501
|
|
419
|
-
|
|
420
|
-
# Authentication setting
|
|
421
|
-
auth_settings = [] # noqa: E501
|
|
422
|
-
|
|
423
|
-
return self.api_client.call_api(
|
|
424
|
-
'/teamdbapi/v2.0/modelfield/{modelFieldId}/revisionselectorvalues', 'GET',
|
|
425
|
-
path_params,
|
|
426
|
-
query_params,
|
|
427
|
-
header_params,
|
|
428
|
-
body=body_params,
|
|
429
|
-
post_params=form_params,
|
|
430
|
-
files=local_var_files,
|
|
431
|
-
response_type='list[str]', # noqa: E501
|
|
432
|
-
auth_settings=auth_settings,
|
|
433
|
-
async_req=params.get('async_req'),
|
|
434
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
|
435
|
-
_preload_content=params.get('_preload_content', True),
|
|
436
|
-
_request_timeout=params.get('_request_timeout'),
|
|
437
|
-
collection_formats=collection_formats)
|
|
438
|
-
|
|
439
|
-
def get_revision_selector_value(self, model_field_id, parent_item_id, **kwargs): # noqa: E501
|
|
440
|
-
"""Get the value of a RevisionSelector field depending on a model field id and a parent item Id (that corresponds to the run Id). # noqa: E501
|
|
441
|
-
|
|
442
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
443
|
-
asynchronous HTTP request, please pass async_req=True
|
|
444
|
-
>>> thread = api.get_revision_selector_value(model_field_id, parent_item_id, async_req=True)
|
|
445
|
-
>>> result = thread.get()
|
|
446
|
-
|
|
447
|
-
:param async_req bool
|
|
448
|
-
:param str model_field_id: The model field id for which you want to get the revision selector value (required)
|
|
449
|
-
:param str parent_item_id: The parent item id (run id) for which you want to get the revision selector value (required)
|
|
450
|
-
:return: str
|
|
451
|
-
If the method is called asynchronously,
|
|
452
|
-
returns the request thread.
|
|
453
|
-
"""
|
|
454
|
-
kwargs['_return_http_data_only'] = True
|
|
455
|
-
if kwargs.get('async_req'):
|
|
456
|
-
return self.get_revision_selector_value_with_http_info(model_field_id, parent_item_id, **kwargs) # noqa: E501
|
|
457
|
-
else:
|
|
458
|
-
(data) = self.get_revision_selector_value_with_http_info(model_field_id, parent_item_id, **kwargs) # noqa: E501
|
|
459
|
-
return data
|
|
460
|
-
|
|
461
|
-
def get_revision_selector_value_with_http_info(self, model_field_id, parent_item_id, **kwargs): # noqa: E501
|
|
462
|
-
"""Get the value of a RevisionSelector field depending on a model field id and a parent item Id (that corresponds to the run Id). # noqa: E501
|
|
463
|
-
|
|
464
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
465
|
-
asynchronous HTTP request, please pass async_req=True
|
|
466
|
-
>>> thread = api.get_revision_selector_value_with_http_info(model_field_id, parent_item_id, async_req=True)
|
|
467
|
-
>>> result = thread.get()
|
|
468
|
-
|
|
469
|
-
:param async_req bool
|
|
470
|
-
:param str model_field_id: The model field id for which you want to get the revision selector value (required)
|
|
471
|
-
:param str parent_item_id: The parent item id (run id) for which you want to get the revision selector value (required)
|
|
472
|
-
:return: str
|
|
473
|
-
If the method is called asynchronously,
|
|
474
|
-
returns the request thread.
|
|
475
|
-
"""
|
|
476
|
-
|
|
477
|
-
all_params = ['model_field_id', 'parent_item_id'] # noqa: E501
|
|
478
|
-
all_params.append('async_req')
|
|
479
|
-
all_params.append('_return_http_data_only')
|
|
480
|
-
all_params.append('_preload_content')
|
|
481
|
-
all_params.append('_request_timeout')
|
|
482
|
-
|
|
483
|
-
params = locals()
|
|
484
|
-
for key, val in six.iteritems(params['kwargs']):
|
|
485
|
-
if key not in all_params:
|
|
486
|
-
raise TypeError(
|
|
487
|
-
"Got an unexpected keyword argument '%s'"
|
|
488
|
-
" to method get_revision_selector_value" % key
|
|
489
|
-
)
|
|
490
|
-
params[key] = val
|
|
491
|
-
del params['kwargs']
|
|
492
|
-
# verify the required parameter 'model_field_id' is set
|
|
493
|
-
if ('model_field_id' not in params or
|
|
494
|
-
params['model_field_id'] is None):
|
|
495
|
-
raise ValueError("Missing the required parameter `model_field_id` when calling `get_revision_selector_value`") # noqa: E501
|
|
496
|
-
# verify the required parameter 'parent_item_id' is set
|
|
497
|
-
if ('parent_item_id' not in params or
|
|
498
|
-
params['parent_item_id'] is None):
|
|
499
|
-
raise ValueError("Missing the required parameter `parent_item_id` when calling `get_revision_selector_value`") # noqa: E501
|
|
500
|
-
|
|
501
|
-
collection_formats = {}
|
|
502
|
-
|
|
503
|
-
path_params = {}
|
|
504
|
-
if 'model_field_id' in params:
|
|
505
|
-
path_params['modelFieldId'] = params['model_field_id'] # noqa: E501
|
|
506
|
-
|
|
507
|
-
query_params = []
|
|
508
|
-
if 'parent_item_id' in params:
|
|
509
|
-
query_params.append(('parentItemId', params['parent_item_id'])) # noqa: E501
|
|
510
|
-
|
|
511
|
-
header_params = {}
|
|
512
|
-
|
|
513
|
-
form_params = []
|
|
514
|
-
local_var_files = {}
|
|
515
|
-
|
|
516
|
-
body_params = None
|
|
517
|
-
# HTTP header `Accept`
|
|
518
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
519
|
-
['application/json', 'text/json']) # noqa: E501
|
|
520
|
-
|
|
521
|
-
# Authentication setting
|
|
522
|
-
auth_settings = [] # noqa: E501
|
|
523
|
-
|
|
524
|
-
return self.api_client.call_api(
|
|
525
|
-
'/teamdbapi/v2.0/modelfield/{modelFieldId}/revisionselectorvalue', 'GET',
|
|
526
|
-
path_params,
|
|
527
|
-
query_params,
|
|
528
|
-
header_params,
|
|
529
|
-
body=body_params,
|
|
530
|
-
post_params=form_params,
|
|
531
|
-
files=local_var_files,
|
|
532
|
-
response_type='str', # noqa: E501
|
|
533
|
-
auth_settings=auth_settings,
|
|
534
|
-
async_req=params.get('async_req'),
|
|
535
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
|
536
|
-
_preload_content=params.get('_preload_content', True),
|
|
537
|
-
_request_timeout=params.get('_request_timeout'),
|
|
538
|
-
collection_formats=collection_formats)
|
|
539
|
-
|
|
540
|
-
def remove_revision_selector_filters(self, body, target_id, event_id, **kwargs): # noqa: E501
|
|
541
|
-
"""[Command] Remove a tags list for an event and a target in order to filter the revision selector fields displayed on the drop down # noqa: E501
|
|
542
|
-
|
|
543
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
544
|
-
asynchronous HTTP request, please pass async_req=True
|
|
545
|
-
>>> thread = api.remove_revision_selector_filters(body, target_id, event_id, async_req=True)
|
|
546
|
-
>>> result = thread.get()
|
|
547
|
-
|
|
548
|
-
:param async_req bool
|
|
549
|
-
:param list[str] body: The tags used to filter the revision selector fields you want to remove (required)
|
|
550
|
-
:param str target_id: The target unique id for which you want to remove the tags list (required)
|
|
551
|
-
:param str event_id: The event unique id for which you want to remove the tags list (required)
|
|
552
|
-
:return: None
|
|
553
|
-
If the method is called asynchronously,
|
|
554
|
-
returns the request thread.
|
|
555
|
-
"""
|
|
556
|
-
kwargs['_return_http_data_only'] = True
|
|
557
|
-
if kwargs.get('async_req'):
|
|
558
|
-
return self.remove_revision_selector_filters_with_http_info(body, target_id, event_id, **kwargs) # noqa: E501
|
|
559
|
-
else:
|
|
560
|
-
(data) = self.remove_revision_selector_filters_with_http_info(body, target_id, event_id, **kwargs) # noqa: E501
|
|
561
|
-
return data
|
|
562
|
-
|
|
563
|
-
def remove_revision_selector_filters_with_http_info(self, body, target_id, event_id, **kwargs): # noqa: E501
|
|
564
|
-
"""[Command] Remove a tags list for an event and a target in order to filter the revision selector fields displayed on the drop down # noqa: E501
|
|
565
|
-
|
|
566
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
567
|
-
asynchronous HTTP request, please pass async_req=True
|
|
568
|
-
>>> thread = api.remove_revision_selector_filters_with_http_info(body, target_id, event_id, async_req=True)
|
|
569
|
-
>>> result = thread.get()
|
|
570
|
-
|
|
571
|
-
:param async_req bool
|
|
572
|
-
:param list[str] body: The tags used to filter the revision selector fields you want to remove (required)
|
|
573
|
-
:param str target_id: The target unique id for which you want to remove the tags list (required)
|
|
574
|
-
:param str event_id: The event unique id for which you want to remove the tags list (required)
|
|
575
|
-
:return: None
|
|
576
|
-
If the method is called asynchronously,
|
|
577
|
-
returns the request thread.
|
|
578
|
-
"""
|
|
579
|
-
|
|
580
|
-
all_params = ['body', 'target_id', 'event_id'] # noqa: E501
|
|
581
|
-
all_params.append('async_req')
|
|
582
|
-
all_params.append('_return_http_data_only')
|
|
583
|
-
all_params.append('_preload_content')
|
|
584
|
-
all_params.append('_request_timeout')
|
|
585
|
-
|
|
586
|
-
params = locals()
|
|
587
|
-
for key, val in six.iteritems(params['kwargs']):
|
|
588
|
-
if key not in all_params:
|
|
589
|
-
raise TypeError(
|
|
590
|
-
"Got an unexpected keyword argument '%s'"
|
|
591
|
-
" to method remove_revision_selector_filters" % key
|
|
592
|
-
)
|
|
593
|
-
params[key] = val
|
|
594
|
-
del params['kwargs']
|
|
595
|
-
# verify the required parameter 'body' is set
|
|
596
|
-
if ('body' not in params or
|
|
597
|
-
params['body'] is None):
|
|
598
|
-
raise ValueError("Missing the required parameter `body` when calling `remove_revision_selector_filters`") # noqa: E501
|
|
599
|
-
# verify the required parameter 'target_id' is set
|
|
600
|
-
if ('target_id' not in params or
|
|
601
|
-
params['target_id'] is None):
|
|
602
|
-
raise ValueError("Missing the required parameter `target_id` when calling `remove_revision_selector_filters`") # noqa: E501
|
|
603
|
-
# verify the required parameter 'event_id' is set
|
|
604
|
-
if ('event_id' not in params or
|
|
605
|
-
params['event_id'] is None):
|
|
606
|
-
raise ValueError("Missing the required parameter `event_id` when calling `remove_revision_selector_filters`") # noqa: E501
|
|
607
|
-
|
|
608
|
-
collection_formats = {}
|
|
609
|
-
|
|
610
|
-
path_params = {}
|
|
611
|
-
if 'event_id' in params:
|
|
612
|
-
path_params['eventId'] = params['event_id'] # noqa: E501
|
|
613
|
-
|
|
614
|
-
query_params = []
|
|
615
|
-
if 'target_id' in params:
|
|
616
|
-
query_params.append(('targetId', params['target_id'])) # noqa: E501
|
|
617
|
-
|
|
618
|
-
header_params = {}
|
|
619
|
-
|
|
620
|
-
form_params = []
|
|
621
|
-
local_var_files = {}
|
|
622
|
-
|
|
623
|
-
body_params = None
|
|
624
|
-
if 'body' in params:
|
|
625
|
-
body_params = params['body']
|
|
626
|
-
# HTTP header `Accept`
|
|
627
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
628
|
-
['application/json', 'text/json']) # noqa: E501
|
|
629
|
-
|
|
630
|
-
# HTTP header `Content-Type`
|
|
631
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
632
|
-
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
633
|
-
|
|
634
|
-
# Authentication setting
|
|
635
|
-
auth_settings = [] # noqa: E501
|
|
636
|
-
|
|
637
|
-
return self.api_client.call_api(
|
|
638
|
-
'/teamdbapi/v2.0/event/{eventId}/removerevisionselectorfilters', 'POST',
|
|
639
|
-
path_params,
|
|
640
|
-
query_params,
|
|
641
|
-
header_params,
|
|
642
|
-
body=body_params,
|
|
643
|
-
post_params=form_params,
|
|
644
|
-
files=local_var_files,
|
|
645
|
-
response_type=None, # noqa: E501
|
|
646
|
-
auth_settings=auth_settings,
|
|
647
|
-
async_req=params.get('async_req'),
|
|
648
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
|
649
|
-
_preload_content=params.get('_preload_content', True),
|
|
650
|
-
_request_timeout=params.get('_request_timeout'),
|
|
651
|
-
collection_formats=collection_formats)
|
|
652
|
-
|
|
653
|
-
def set_revision_editor_value(self, body, parent_item_id, model_field_id, **kwargs): # noqa: E501
|
|
654
|
-
"""[Command] Set the value of a RevisionEditor field depending on a model field id and a parent item Id (that corresponds to the run Id). Important notice : RevisionEditor fields work only with Single value Parameters. 2D and 3D Parameters are not supported. # noqa: E501
|
|
655
|
-
|
|
656
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
657
|
-
asynchronous HTTP request, please pass async_req=True
|
|
658
|
-
>>> thread = api.set_revision_editor_value(body, parent_item_id, model_field_id, async_req=True)
|
|
659
|
-
>>> result = thread.get()
|
|
660
|
-
|
|
661
|
-
:param async_req bool
|
|
662
|
-
:param object body: The new value (required)
|
|
663
|
-
:param str parent_item_id: The parent item id (run id) for which you want to get the revision editor value (required)
|
|
664
|
-
:param str model_field_id: The model field id for which you want to get the revision editor value (required)
|
|
665
|
-
:return: object
|
|
666
|
-
If the method is called asynchronously,
|
|
667
|
-
returns the request thread.
|
|
668
|
-
"""
|
|
669
|
-
kwargs['_return_http_data_only'] = True
|
|
670
|
-
if kwargs.get('async_req'):
|
|
671
|
-
return self.set_revision_editor_value_with_http_info(body, parent_item_id, model_field_id, **kwargs) # noqa: E501
|
|
672
|
-
else:
|
|
673
|
-
(data) = self.set_revision_editor_value_with_http_info(body, parent_item_id, model_field_id, **kwargs) # noqa: E501
|
|
674
|
-
return data
|
|
675
|
-
|
|
676
|
-
def set_revision_editor_value_with_http_info(self, body, parent_item_id, model_field_id, **kwargs): # noqa: E501
|
|
677
|
-
"""[Command] Set the value of a RevisionEditor field depending on a model field id and a parent item Id (that corresponds to the run Id). Important notice : RevisionEditor fields work only with Single value Parameters. 2D and 3D Parameters are not supported. # noqa: E501
|
|
678
|
-
|
|
679
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
680
|
-
asynchronous HTTP request, please pass async_req=True
|
|
681
|
-
>>> thread = api.set_revision_editor_value_with_http_info(body, parent_item_id, model_field_id, async_req=True)
|
|
682
|
-
>>> result = thread.get()
|
|
683
|
-
|
|
684
|
-
:param async_req bool
|
|
685
|
-
:param object body: The new value (required)
|
|
686
|
-
:param str parent_item_id: The parent item id (run id) for which you want to get the revision editor value (required)
|
|
687
|
-
:param str model_field_id: The model field id for which you want to get the revision editor value (required)
|
|
688
|
-
:return: object
|
|
689
|
-
If the method is called asynchronously,
|
|
690
|
-
returns the request thread.
|
|
691
|
-
"""
|
|
692
|
-
|
|
693
|
-
all_params = ['body', 'parent_item_id', 'model_field_id'] # noqa: E501
|
|
694
|
-
all_params.append('async_req')
|
|
695
|
-
all_params.append('_return_http_data_only')
|
|
696
|
-
all_params.append('_preload_content')
|
|
697
|
-
all_params.append('_request_timeout')
|
|
698
|
-
|
|
699
|
-
params = locals()
|
|
700
|
-
for key, val in six.iteritems(params['kwargs']):
|
|
701
|
-
if key not in all_params:
|
|
702
|
-
raise TypeError(
|
|
703
|
-
"Got an unexpected keyword argument '%s'"
|
|
704
|
-
" to method set_revision_editor_value" % key
|
|
705
|
-
)
|
|
706
|
-
params[key] = val
|
|
707
|
-
del params['kwargs']
|
|
708
|
-
# verify the required parameter 'body' is set
|
|
709
|
-
if ('body' not in params or
|
|
710
|
-
params['body'] is None):
|
|
711
|
-
raise ValueError("Missing the required parameter `body` when calling `set_revision_editor_value`") # noqa: E501
|
|
712
|
-
# verify the required parameter 'parent_item_id' is set
|
|
713
|
-
if ('parent_item_id' not in params or
|
|
714
|
-
params['parent_item_id'] is None):
|
|
715
|
-
raise ValueError("Missing the required parameter `parent_item_id` when calling `set_revision_editor_value`") # noqa: E501
|
|
716
|
-
# verify the required parameter 'model_field_id' is set
|
|
717
|
-
if ('model_field_id' not in params or
|
|
718
|
-
params['model_field_id'] is None):
|
|
719
|
-
raise ValueError("Missing the required parameter `model_field_id` when calling `set_revision_editor_value`") # noqa: E501
|
|
720
|
-
|
|
721
|
-
collection_formats = {}
|
|
722
|
-
|
|
723
|
-
path_params = {}
|
|
724
|
-
if 'model_field_id' in params:
|
|
725
|
-
path_params['modelFieldId'] = params['model_field_id'] # noqa: E501
|
|
726
|
-
|
|
727
|
-
query_params = []
|
|
728
|
-
if 'parent_item_id' in params:
|
|
729
|
-
query_params.append(('parentItemId', params['parent_item_id'])) # noqa: E501
|
|
730
|
-
|
|
731
|
-
header_params = {}
|
|
732
|
-
|
|
733
|
-
form_params = []
|
|
734
|
-
local_var_files = {}
|
|
735
|
-
|
|
736
|
-
body_params = None
|
|
737
|
-
if 'body' in params:
|
|
738
|
-
body_params = params['body']
|
|
739
|
-
# HTTP header `Accept`
|
|
740
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
741
|
-
['application/json', 'text/json']) # noqa: E501
|
|
742
|
-
|
|
743
|
-
# HTTP header `Content-Type`
|
|
744
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
745
|
-
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
746
|
-
|
|
747
|
-
# Authentication setting
|
|
748
|
-
auth_settings = [] # noqa: E501
|
|
749
|
-
|
|
750
|
-
return self.api_client.call_api(
|
|
751
|
-
'/teamdbapi/v2.0/modelfield/{modelFieldId}/revisioneditorvalue', 'POST',
|
|
752
|
-
path_params,
|
|
753
|
-
query_params,
|
|
754
|
-
header_params,
|
|
755
|
-
body=body_params,
|
|
756
|
-
post_params=form_params,
|
|
757
|
-
files=local_var_files,
|
|
758
|
-
response_type='object', # noqa: E501
|
|
759
|
-
auth_settings=auth_settings,
|
|
760
|
-
async_req=params.get('async_req'),
|
|
761
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
|
762
|
-
_preload_content=params.get('_preload_content', True),
|
|
763
|
-
_request_timeout=params.get('_request_timeout'),
|
|
764
|
-
collection_formats=collection_formats)
|
|
765
|
-
|
|
766
|
-
def set_revision_selector_filters(self, body, target_id, event_id, **kwargs): # noqa: E501
|
|
767
|
-
"""[Command] Set the tags list for an event and a target in order to filter the revision selector fields displayed on the drop down # noqa: E501
|
|
768
|
-
|
|
769
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
770
|
-
asynchronous HTTP request, please pass async_req=True
|
|
771
|
-
>>> thread = api.set_revision_selector_filters(body, target_id, event_id, async_req=True)
|
|
772
|
-
>>> result = thread.get()
|
|
773
|
-
|
|
774
|
-
:param async_req bool
|
|
775
|
-
:param list[str] body: The tags used to filter the revision selector fields you want to add (required)
|
|
776
|
-
:param str target_id: The target unique id for which you want to add the tags list (required)
|
|
777
|
-
:param str event_id: The event unique id for which you want to add the tags list (required)
|
|
778
|
-
:return: None
|
|
779
|
-
If the method is called asynchronously,
|
|
780
|
-
returns the request thread.
|
|
781
|
-
"""
|
|
782
|
-
kwargs['_return_http_data_only'] = True
|
|
783
|
-
if kwargs.get('async_req'):
|
|
784
|
-
return self.set_revision_selector_filters_with_http_info(body, target_id, event_id, **kwargs) # noqa: E501
|
|
785
|
-
else:
|
|
786
|
-
(data) = self.set_revision_selector_filters_with_http_info(body, target_id, event_id, **kwargs) # noqa: E501
|
|
787
|
-
return data
|
|
788
|
-
|
|
789
|
-
def set_revision_selector_filters_with_http_info(self, body, target_id, event_id, **kwargs): # noqa: E501
|
|
790
|
-
"""[Command] Set the tags list for an event and a target in order to filter the revision selector fields displayed on the drop down # noqa: E501
|
|
791
|
-
|
|
792
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
793
|
-
asynchronous HTTP request, please pass async_req=True
|
|
794
|
-
>>> thread = api.set_revision_selector_filters_with_http_info(body, target_id, event_id, async_req=True)
|
|
795
|
-
>>> result = thread.get()
|
|
796
|
-
|
|
797
|
-
:param async_req bool
|
|
798
|
-
:param list[str] body: The tags used to filter the revision selector fields you want to add (required)
|
|
799
|
-
:param str target_id: The target unique id for which you want to add the tags list (required)
|
|
800
|
-
:param str event_id: The event unique id for which you want to add the tags list (required)
|
|
801
|
-
:return: None
|
|
802
|
-
If the method is called asynchronously,
|
|
803
|
-
returns the request thread.
|
|
804
|
-
"""
|
|
805
|
-
|
|
806
|
-
all_params = ['body', 'target_id', 'event_id'] # noqa: E501
|
|
807
|
-
all_params.append('async_req')
|
|
808
|
-
all_params.append('_return_http_data_only')
|
|
809
|
-
all_params.append('_preload_content')
|
|
810
|
-
all_params.append('_request_timeout')
|
|
811
|
-
|
|
812
|
-
params = locals()
|
|
813
|
-
for key, val in six.iteritems(params['kwargs']):
|
|
814
|
-
if key not in all_params:
|
|
815
|
-
raise TypeError(
|
|
816
|
-
"Got an unexpected keyword argument '%s'"
|
|
817
|
-
" to method set_revision_selector_filters" % key
|
|
818
|
-
)
|
|
819
|
-
params[key] = val
|
|
820
|
-
del params['kwargs']
|
|
821
|
-
# verify the required parameter 'body' is set
|
|
822
|
-
if ('body' not in params or
|
|
823
|
-
params['body'] is None):
|
|
824
|
-
raise ValueError("Missing the required parameter `body` when calling `set_revision_selector_filters`") # noqa: E501
|
|
825
|
-
# verify the required parameter 'target_id' is set
|
|
826
|
-
if ('target_id' not in params or
|
|
827
|
-
params['target_id'] is None):
|
|
828
|
-
raise ValueError("Missing the required parameter `target_id` when calling `set_revision_selector_filters`") # noqa: E501
|
|
829
|
-
# verify the required parameter 'event_id' is set
|
|
830
|
-
if ('event_id' not in params or
|
|
831
|
-
params['event_id'] is None):
|
|
832
|
-
raise ValueError("Missing the required parameter `event_id` when calling `set_revision_selector_filters`") # noqa: E501
|
|
833
|
-
|
|
834
|
-
collection_formats = {}
|
|
835
|
-
|
|
836
|
-
path_params = {}
|
|
837
|
-
if 'event_id' in params:
|
|
838
|
-
path_params['eventId'] = params['event_id'] # noqa: E501
|
|
839
|
-
|
|
840
|
-
query_params = []
|
|
841
|
-
if 'target_id' in params:
|
|
842
|
-
query_params.append(('targetId', params['target_id'])) # noqa: E501
|
|
843
|
-
|
|
844
|
-
header_params = {}
|
|
845
|
-
|
|
846
|
-
form_params = []
|
|
847
|
-
local_var_files = {}
|
|
848
|
-
|
|
849
|
-
body_params = None
|
|
850
|
-
if 'body' in params:
|
|
851
|
-
body_params = params['body']
|
|
852
|
-
# HTTP header `Accept`
|
|
853
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
854
|
-
['application/json', 'text/json']) # noqa: E501
|
|
855
|
-
|
|
856
|
-
# HTTP header `Content-Type`
|
|
857
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
858
|
-
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
859
|
-
|
|
860
|
-
# Authentication setting
|
|
861
|
-
auth_settings = [] # noqa: E501
|
|
862
|
-
|
|
863
|
-
return self.api_client.call_api(
|
|
864
|
-
'/teamdbapi/v2.0/event/{eventId}/revisionselectorfilters', 'POST',
|
|
865
|
-
path_params,
|
|
866
|
-
query_params,
|
|
867
|
-
header_params,
|
|
868
|
-
body=body_params,
|
|
869
|
-
post_params=form_params,
|
|
870
|
-
files=local_var_files,
|
|
871
|
-
response_type=None, # noqa: E501
|
|
872
|
-
auth_settings=auth_settings,
|
|
873
|
-
async_req=params.get('async_req'),
|
|
874
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
|
875
|
-
_preload_content=params.get('_preload_content', True),
|
|
876
|
-
_request_timeout=params.get('_request_timeout'),
|
|
877
|
-
collection_formats=collection_formats)
|
|
878
|
-
|
|
879
|
-
def set_revision_selector_value(self, body, parent_item_id, model_field_id, **kwargs): # noqa: E501
|
|
880
|
-
"""[Command] Set the value of a RevisionSelector field depending on a model field id and a parent item Id (that corresponds to the run Id). # noqa: E501
|
|
881
|
-
|
|
882
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
883
|
-
asynchronous HTTP request, please pass async_req=True
|
|
884
|
-
>>> thread = api.set_revision_selector_value(body, parent_item_id, model_field_id, async_req=True)
|
|
885
|
-
>>> result = thread.get()
|
|
886
|
-
|
|
887
|
-
:param async_req bool
|
|
888
|
-
:param str body: The revision name value to apply. This value must match with a value available in the GetRevisionSelectorListOfValues function (required)
|
|
889
|
-
:param str parent_item_id: The parent item id (run id) for which you want to get the revision selector value (required)
|
|
890
|
-
:param str model_field_id: The model field id for which you want to get the revision selector value (required)
|
|
891
|
-
:return: str
|
|
892
|
-
If the method is called asynchronously,
|
|
893
|
-
returns the request thread.
|
|
894
|
-
"""
|
|
895
|
-
kwargs['_return_http_data_only'] = True
|
|
896
|
-
if kwargs.get('async_req'):
|
|
897
|
-
return self.set_revision_selector_value_with_http_info(body, parent_item_id, model_field_id, **kwargs) # noqa: E501
|
|
898
|
-
else:
|
|
899
|
-
(data) = self.set_revision_selector_value_with_http_info(body, parent_item_id, model_field_id, **kwargs) # noqa: E501
|
|
900
|
-
return data
|
|
901
|
-
|
|
902
|
-
def set_revision_selector_value_with_http_info(self, body, parent_item_id, model_field_id, **kwargs): # noqa: E501
|
|
903
|
-
"""[Command] Set the value of a RevisionSelector field depending on a model field id and a parent item Id (that corresponds to the run Id). # noqa: E501
|
|
904
|
-
|
|
905
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
906
|
-
asynchronous HTTP request, please pass async_req=True
|
|
907
|
-
>>> thread = api.set_revision_selector_value_with_http_info(body, parent_item_id, model_field_id, async_req=True)
|
|
908
|
-
>>> result = thread.get()
|
|
909
|
-
|
|
910
|
-
:param async_req bool
|
|
911
|
-
:param str body: The revision name value to apply. This value must match with a value available in the GetRevisionSelectorListOfValues function (required)
|
|
912
|
-
:param str parent_item_id: The parent item id (run id) for which you want to get the revision selector value (required)
|
|
913
|
-
:param str model_field_id: The model field id for which you want to get the revision selector value (required)
|
|
914
|
-
:return: str
|
|
915
|
-
If the method is called asynchronously,
|
|
916
|
-
returns the request thread.
|
|
917
|
-
"""
|
|
918
|
-
|
|
919
|
-
all_params = ['body', 'parent_item_id', 'model_field_id'] # noqa: E501
|
|
920
|
-
all_params.append('async_req')
|
|
921
|
-
all_params.append('_return_http_data_only')
|
|
922
|
-
all_params.append('_preload_content')
|
|
923
|
-
all_params.append('_request_timeout')
|
|
924
|
-
|
|
925
|
-
params = locals()
|
|
926
|
-
for key, val in six.iteritems(params['kwargs']):
|
|
927
|
-
if key not in all_params:
|
|
928
|
-
raise TypeError(
|
|
929
|
-
"Got an unexpected keyword argument '%s'"
|
|
930
|
-
" to method set_revision_selector_value" % key
|
|
931
|
-
)
|
|
932
|
-
params[key] = val
|
|
933
|
-
del params['kwargs']
|
|
934
|
-
# verify the required parameter 'body' is set
|
|
935
|
-
if ('body' not in params or
|
|
936
|
-
params['body'] is None):
|
|
937
|
-
raise ValueError("Missing the required parameter `body` when calling `set_revision_selector_value`") # noqa: E501
|
|
938
|
-
# verify the required parameter 'parent_item_id' is set
|
|
939
|
-
if ('parent_item_id' not in params or
|
|
940
|
-
params['parent_item_id'] is None):
|
|
941
|
-
raise ValueError("Missing the required parameter `parent_item_id` when calling `set_revision_selector_value`") # noqa: E501
|
|
942
|
-
# verify the required parameter 'model_field_id' is set
|
|
943
|
-
if ('model_field_id' not in params or
|
|
944
|
-
params['model_field_id'] is None):
|
|
945
|
-
raise ValueError("Missing the required parameter `model_field_id` when calling `set_revision_selector_value`") # noqa: E501
|
|
946
|
-
|
|
947
|
-
collection_formats = {}
|
|
948
|
-
|
|
949
|
-
path_params = {}
|
|
950
|
-
if 'model_field_id' in params:
|
|
951
|
-
path_params['modelFieldId'] = params['model_field_id'] # noqa: E501
|
|
952
|
-
|
|
953
|
-
query_params = []
|
|
954
|
-
if 'parent_item_id' in params:
|
|
955
|
-
query_params.append(('parentItemId', params['parent_item_id'])) # noqa: E501
|
|
956
|
-
|
|
957
|
-
header_params = {}
|
|
958
|
-
|
|
959
|
-
form_params = []
|
|
960
|
-
local_var_files = {}
|
|
961
|
-
|
|
962
|
-
body_params = None
|
|
963
|
-
if 'body' in params:
|
|
964
|
-
body_params = params['body']
|
|
965
|
-
# HTTP header `Accept`
|
|
966
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
967
|
-
['application/json', 'text/json']) # noqa: E501
|
|
968
|
-
|
|
969
|
-
# HTTP header `Content-Type`
|
|
970
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
971
|
-
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
972
|
-
|
|
973
|
-
# Authentication setting
|
|
974
|
-
auth_settings = [] # noqa: E501
|
|
975
|
-
|
|
976
|
-
return self.api_client.call_api(
|
|
977
|
-
'/teamdbapi/v2.0/modelfield/{modelFieldId}/revisionselectorvalue', 'POST',
|
|
978
|
-
path_params,
|
|
979
|
-
query_params,
|
|
980
|
-
header_params,
|
|
981
|
-
body=body_params,
|
|
982
|
-
post_params=form_params,
|
|
983
|
-
files=local_var_files,
|
|
984
|
-
response_type='str', # noqa: E501
|
|
985
|
-
auth_settings=auth_settings,
|
|
986
|
-
async_req=params.get('async_req'),
|
|
987
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
|
988
|
-
_preload_content=params.get('_preload_content', True),
|
|
989
|
-
_request_timeout=params.get('_request_timeout'),
|
|
990
|
-
collection_formats=collection_formats)
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Trackside Software TeamDB API v2.0
|
|
5
|
+
|
|
6
|
+
This API enables you to access TeamDB data # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 2.0
|
|
9
|
+
Contact: support@trackside.fr
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
# python 2 and python 3 compatibility library
|
|
18
|
+
import six
|
|
19
|
+
|
|
20
|
+
from teamdbapi.api_client import ApiClient
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class RevisionEditorSelectorApi(object):
|
|
24
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
25
|
+
|
|
26
|
+
Do not edit the class manually.
|
|
27
|
+
Ref: https://github.com/swagger-api/swagger-codegen
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
def __init__(self, api_client=None):
|
|
31
|
+
if api_client is None:
|
|
32
|
+
api_client = ApiClient()
|
|
33
|
+
self.api_client = api_client
|
|
34
|
+
|
|
35
|
+
def clear_revision_selector_filters(self, event_id, target_id, **kwargs): # noqa: E501
|
|
36
|
+
"""[Command] Clear a tags list for an event and a target in order to filter the revision selector fields displayed on the drop down # noqa: E501
|
|
37
|
+
|
|
38
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
39
|
+
asynchronous HTTP request, please pass async_req=True
|
|
40
|
+
>>> thread = api.clear_revision_selector_filters(event_id, target_id, async_req=True)
|
|
41
|
+
>>> result = thread.get()
|
|
42
|
+
|
|
43
|
+
:param async_req bool
|
|
44
|
+
:param str event_id: The event unique id for which you want to clear the tags list (required)
|
|
45
|
+
:param str target_id: The target unique id for which you want to clear the tags list (required)
|
|
46
|
+
:return: None
|
|
47
|
+
If the method is called asynchronously,
|
|
48
|
+
returns the request thread.
|
|
49
|
+
"""
|
|
50
|
+
kwargs['_return_http_data_only'] = True
|
|
51
|
+
if kwargs.get('async_req'):
|
|
52
|
+
return self.clear_revision_selector_filters_with_http_info(event_id, target_id, **kwargs) # noqa: E501
|
|
53
|
+
else:
|
|
54
|
+
(data) = self.clear_revision_selector_filters_with_http_info(event_id, target_id, **kwargs) # noqa: E501
|
|
55
|
+
return data
|
|
56
|
+
|
|
57
|
+
def clear_revision_selector_filters_with_http_info(self, event_id, target_id, **kwargs): # noqa: E501
|
|
58
|
+
"""[Command] Clear a tags list for an event and a target in order to filter the revision selector fields displayed on the drop down # noqa: E501
|
|
59
|
+
|
|
60
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
61
|
+
asynchronous HTTP request, please pass async_req=True
|
|
62
|
+
>>> thread = api.clear_revision_selector_filters_with_http_info(event_id, target_id, async_req=True)
|
|
63
|
+
>>> result = thread.get()
|
|
64
|
+
|
|
65
|
+
:param async_req bool
|
|
66
|
+
:param str event_id: The event unique id for which you want to clear the tags list (required)
|
|
67
|
+
:param str target_id: The target unique id for which you want to clear the tags list (required)
|
|
68
|
+
:return: None
|
|
69
|
+
If the method is called asynchronously,
|
|
70
|
+
returns the request thread.
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
all_params = ['event_id', 'target_id'] # noqa: E501
|
|
74
|
+
all_params.append('async_req')
|
|
75
|
+
all_params.append('_return_http_data_only')
|
|
76
|
+
all_params.append('_preload_content')
|
|
77
|
+
all_params.append('_request_timeout')
|
|
78
|
+
|
|
79
|
+
params = locals()
|
|
80
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
81
|
+
if key not in all_params:
|
|
82
|
+
raise TypeError(
|
|
83
|
+
"Got an unexpected keyword argument '%s'"
|
|
84
|
+
" to method clear_revision_selector_filters" % key
|
|
85
|
+
)
|
|
86
|
+
params[key] = val
|
|
87
|
+
del params['kwargs']
|
|
88
|
+
# verify the required parameter 'event_id' is set
|
|
89
|
+
if ('event_id' not in params or
|
|
90
|
+
params['event_id'] is None):
|
|
91
|
+
raise ValueError("Missing the required parameter `event_id` when calling `clear_revision_selector_filters`") # noqa: E501
|
|
92
|
+
# verify the required parameter 'target_id' is set
|
|
93
|
+
if ('target_id' not in params or
|
|
94
|
+
params['target_id'] is None):
|
|
95
|
+
raise ValueError("Missing the required parameter `target_id` when calling `clear_revision_selector_filters`") # noqa: E501
|
|
96
|
+
|
|
97
|
+
collection_formats = {}
|
|
98
|
+
|
|
99
|
+
path_params = {}
|
|
100
|
+
if 'event_id' in params:
|
|
101
|
+
path_params['eventId'] = params['event_id'] # noqa: E501
|
|
102
|
+
|
|
103
|
+
query_params = []
|
|
104
|
+
if 'target_id' in params:
|
|
105
|
+
query_params.append(('targetId', params['target_id'])) # noqa: E501
|
|
106
|
+
|
|
107
|
+
header_params = {}
|
|
108
|
+
|
|
109
|
+
form_params = []
|
|
110
|
+
local_var_files = {}
|
|
111
|
+
|
|
112
|
+
body_params = None
|
|
113
|
+
# HTTP header `Accept`
|
|
114
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
115
|
+
['application/json', 'text/json']) # noqa: E501
|
|
116
|
+
|
|
117
|
+
# Authentication setting
|
|
118
|
+
auth_settings = [] # noqa: E501
|
|
119
|
+
|
|
120
|
+
return self.api_client.call_api(
|
|
121
|
+
'/teamdbapi/v2.0/event/{eventId}/clearrevisionselectorfilters', 'POST',
|
|
122
|
+
path_params,
|
|
123
|
+
query_params,
|
|
124
|
+
header_params,
|
|
125
|
+
body=body_params,
|
|
126
|
+
post_params=form_params,
|
|
127
|
+
files=local_var_files,
|
|
128
|
+
response_type=None, # noqa: E501
|
|
129
|
+
auth_settings=auth_settings,
|
|
130
|
+
async_req=params.get('async_req'),
|
|
131
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
132
|
+
_preload_content=params.get('_preload_content', True),
|
|
133
|
+
_request_timeout=params.get('_request_timeout'),
|
|
134
|
+
collection_formats=collection_formats)
|
|
135
|
+
|
|
136
|
+
def get_revision_editor_value(self, model_field_id, parent_item_id, **kwargs): # noqa: E501
|
|
137
|
+
"""Get the value of a RevisionEditor field depending on a model field id and a parent item Id (that corresponds to the run Id). Important notice : RevisionEditor fields work only with Single value Parameters. 2D and 3D Parameters are not supported. # noqa: E501
|
|
138
|
+
|
|
139
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
140
|
+
asynchronous HTTP request, please pass async_req=True
|
|
141
|
+
>>> thread = api.get_revision_editor_value(model_field_id, parent_item_id, async_req=True)
|
|
142
|
+
>>> result = thread.get()
|
|
143
|
+
|
|
144
|
+
:param async_req bool
|
|
145
|
+
:param str model_field_id: The model field id for which you want to get the revision editor value (required)
|
|
146
|
+
:param str parent_item_id: The parent item id (run id) for which you want to get the revision editor value (required)
|
|
147
|
+
:return: object
|
|
148
|
+
If the method is called asynchronously,
|
|
149
|
+
returns the request thread.
|
|
150
|
+
"""
|
|
151
|
+
kwargs['_return_http_data_only'] = True
|
|
152
|
+
if kwargs.get('async_req'):
|
|
153
|
+
return self.get_revision_editor_value_with_http_info(model_field_id, parent_item_id, **kwargs) # noqa: E501
|
|
154
|
+
else:
|
|
155
|
+
(data) = self.get_revision_editor_value_with_http_info(model_field_id, parent_item_id, **kwargs) # noqa: E501
|
|
156
|
+
return data
|
|
157
|
+
|
|
158
|
+
def get_revision_editor_value_with_http_info(self, model_field_id, parent_item_id, **kwargs): # noqa: E501
|
|
159
|
+
"""Get the value of a RevisionEditor field depending on a model field id and a parent item Id (that corresponds to the run Id). Important notice : RevisionEditor fields work only with Single value Parameters. 2D and 3D Parameters are not supported. # noqa: E501
|
|
160
|
+
|
|
161
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
162
|
+
asynchronous HTTP request, please pass async_req=True
|
|
163
|
+
>>> thread = api.get_revision_editor_value_with_http_info(model_field_id, parent_item_id, async_req=True)
|
|
164
|
+
>>> result = thread.get()
|
|
165
|
+
|
|
166
|
+
:param async_req bool
|
|
167
|
+
:param str model_field_id: The model field id for which you want to get the revision editor value (required)
|
|
168
|
+
:param str parent_item_id: The parent item id (run id) for which you want to get the revision editor value (required)
|
|
169
|
+
:return: object
|
|
170
|
+
If the method is called asynchronously,
|
|
171
|
+
returns the request thread.
|
|
172
|
+
"""
|
|
173
|
+
|
|
174
|
+
all_params = ['model_field_id', 'parent_item_id'] # noqa: E501
|
|
175
|
+
all_params.append('async_req')
|
|
176
|
+
all_params.append('_return_http_data_only')
|
|
177
|
+
all_params.append('_preload_content')
|
|
178
|
+
all_params.append('_request_timeout')
|
|
179
|
+
|
|
180
|
+
params = locals()
|
|
181
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
182
|
+
if key not in all_params:
|
|
183
|
+
raise TypeError(
|
|
184
|
+
"Got an unexpected keyword argument '%s'"
|
|
185
|
+
" to method get_revision_editor_value" % key
|
|
186
|
+
)
|
|
187
|
+
params[key] = val
|
|
188
|
+
del params['kwargs']
|
|
189
|
+
# verify the required parameter 'model_field_id' is set
|
|
190
|
+
if ('model_field_id' not in params or
|
|
191
|
+
params['model_field_id'] is None):
|
|
192
|
+
raise ValueError("Missing the required parameter `model_field_id` when calling `get_revision_editor_value`") # noqa: E501
|
|
193
|
+
# verify the required parameter 'parent_item_id' is set
|
|
194
|
+
if ('parent_item_id' not in params or
|
|
195
|
+
params['parent_item_id'] is None):
|
|
196
|
+
raise ValueError("Missing the required parameter `parent_item_id` when calling `get_revision_editor_value`") # noqa: E501
|
|
197
|
+
|
|
198
|
+
collection_formats = {}
|
|
199
|
+
|
|
200
|
+
path_params = {}
|
|
201
|
+
if 'model_field_id' in params:
|
|
202
|
+
path_params['modelFieldId'] = params['model_field_id'] # noqa: E501
|
|
203
|
+
|
|
204
|
+
query_params = []
|
|
205
|
+
if 'parent_item_id' in params:
|
|
206
|
+
query_params.append(('parentItemId', params['parent_item_id'])) # noqa: E501
|
|
207
|
+
|
|
208
|
+
header_params = {}
|
|
209
|
+
|
|
210
|
+
form_params = []
|
|
211
|
+
local_var_files = {}
|
|
212
|
+
|
|
213
|
+
body_params = None
|
|
214
|
+
# HTTP header `Accept`
|
|
215
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
216
|
+
['application/json', 'text/json']) # noqa: E501
|
|
217
|
+
|
|
218
|
+
# Authentication setting
|
|
219
|
+
auth_settings = [] # noqa: E501
|
|
220
|
+
|
|
221
|
+
return self.api_client.call_api(
|
|
222
|
+
'/teamdbapi/v2.0/modelfield/{modelFieldId}/revisioneditorvalue', 'GET',
|
|
223
|
+
path_params,
|
|
224
|
+
query_params,
|
|
225
|
+
header_params,
|
|
226
|
+
body=body_params,
|
|
227
|
+
post_params=form_params,
|
|
228
|
+
files=local_var_files,
|
|
229
|
+
response_type='object', # noqa: E501
|
|
230
|
+
auth_settings=auth_settings,
|
|
231
|
+
async_req=params.get('async_req'),
|
|
232
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
233
|
+
_preload_content=params.get('_preload_content', True),
|
|
234
|
+
_request_timeout=params.get('_request_timeout'),
|
|
235
|
+
collection_formats=collection_formats)
|
|
236
|
+
|
|
237
|
+
def get_revision_selector_filters(self, event_id, target_id, **kwargs): # noqa: E501
|
|
238
|
+
"""Get the tags list defined for an event and a target in order to filter the revision selector fields displayed on the drop down # noqa: E501
|
|
239
|
+
|
|
240
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
241
|
+
asynchronous HTTP request, please pass async_req=True
|
|
242
|
+
>>> thread = api.get_revision_selector_filters(event_id, target_id, async_req=True)
|
|
243
|
+
>>> result = thread.get()
|
|
244
|
+
|
|
245
|
+
:param async_req bool
|
|
246
|
+
:param str event_id: The event unique id for which you want to get the tags list (required)
|
|
247
|
+
:param str target_id: The target unique id for which you want to get the tags list (required)
|
|
248
|
+
:return: list[str]
|
|
249
|
+
If the method is called asynchronously,
|
|
250
|
+
returns the request thread.
|
|
251
|
+
"""
|
|
252
|
+
kwargs['_return_http_data_only'] = True
|
|
253
|
+
if kwargs.get('async_req'):
|
|
254
|
+
return self.get_revision_selector_filters_with_http_info(event_id, target_id, **kwargs) # noqa: E501
|
|
255
|
+
else:
|
|
256
|
+
(data) = self.get_revision_selector_filters_with_http_info(event_id, target_id, **kwargs) # noqa: E501
|
|
257
|
+
return data
|
|
258
|
+
|
|
259
|
+
def get_revision_selector_filters_with_http_info(self, event_id, target_id, **kwargs): # noqa: E501
|
|
260
|
+
"""Get the tags list defined for an event and a target in order to filter the revision selector fields displayed on the drop down # noqa: E501
|
|
261
|
+
|
|
262
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
263
|
+
asynchronous HTTP request, please pass async_req=True
|
|
264
|
+
>>> thread = api.get_revision_selector_filters_with_http_info(event_id, target_id, async_req=True)
|
|
265
|
+
>>> result = thread.get()
|
|
266
|
+
|
|
267
|
+
:param async_req bool
|
|
268
|
+
:param str event_id: The event unique id for which you want to get the tags list (required)
|
|
269
|
+
:param str target_id: The target unique id for which you want to get the tags list (required)
|
|
270
|
+
:return: list[str]
|
|
271
|
+
If the method is called asynchronously,
|
|
272
|
+
returns the request thread.
|
|
273
|
+
"""
|
|
274
|
+
|
|
275
|
+
all_params = ['event_id', 'target_id'] # noqa: E501
|
|
276
|
+
all_params.append('async_req')
|
|
277
|
+
all_params.append('_return_http_data_only')
|
|
278
|
+
all_params.append('_preload_content')
|
|
279
|
+
all_params.append('_request_timeout')
|
|
280
|
+
|
|
281
|
+
params = locals()
|
|
282
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
283
|
+
if key not in all_params:
|
|
284
|
+
raise TypeError(
|
|
285
|
+
"Got an unexpected keyword argument '%s'"
|
|
286
|
+
" to method get_revision_selector_filters" % key
|
|
287
|
+
)
|
|
288
|
+
params[key] = val
|
|
289
|
+
del params['kwargs']
|
|
290
|
+
# verify the required parameter 'event_id' is set
|
|
291
|
+
if ('event_id' not in params or
|
|
292
|
+
params['event_id'] is None):
|
|
293
|
+
raise ValueError("Missing the required parameter `event_id` when calling `get_revision_selector_filters`") # noqa: E501
|
|
294
|
+
# verify the required parameter 'target_id' is set
|
|
295
|
+
if ('target_id' not in params or
|
|
296
|
+
params['target_id'] is None):
|
|
297
|
+
raise ValueError("Missing the required parameter `target_id` when calling `get_revision_selector_filters`") # noqa: E501
|
|
298
|
+
|
|
299
|
+
collection_formats = {}
|
|
300
|
+
|
|
301
|
+
path_params = {}
|
|
302
|
+
if 'event_id' in params:
|
|
303
|
+
path_params['eventId'] = params['event_id'] # noqa: E501
|
|
304
|
+
|
|
305
|
+
query_params = []
|
|
306
|
+
if 'target_id' in params:
|
|
307
|
+
query_params.append(('targetId', params['target_id'])) # noqa: E501
|
|
308
|
+
|
|
309
|
+
header_params = {}
|
|
310
|
+
|
|
311
|
+
form_params = []
|
|
312
|
+
local_var_files = {}
|
|
313
|
+
|
|
314
|
+
body_params = None
|
|
315
|
+
# HTTP header `Accept`
|
|
316
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
317
|
+
['application/json', 'text/json']) # noqa: E501
|
|
318
|
+
|
|
319
|
+
# Authentication setting
|
|
320
|
+
auth_settings = [] # noqa: E501
|
|
321
|
+
|
|
322
|
+
return self.api_client.call_api(
|
|
323
|
+
'/teamdbapi/v2.0/event/{eventId}/revisionselectorfilters', 'GET',
|
|
324
|
+
path_params,
|
|
325
|
+
query_params,
|
|
326
|
+
header_params,
|
|
327
|
+
body=body_params,
|
|
328
|
+
post_params=form_params,
|
|
329
|
+
files=local_var_files,
|
|
330
|
+
response_type='list[str]', # noqa: E501
|
|
331
|
+
auth_settings=auth_settings,
|
|
332
|
+
async_req=params.get('async_req'),
|
|
333
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
334
|
+
_preload_content=params.get('_preload_content', True),
|
|
335
|
+
_request_timeout=params.get('_request_timeout'),
|
|
336
|
+
collection_formats=collection_formats)
|
|
337
|
+
|
|
338
|
+
def get_revision_selector_list_of_values(self, model_field_id, parent_item_id, **kwargs): # noqa: E501
|
|
339
|
+
"""Get the list of all the available values for a RevisionSelector field depending on a model field id and a parent item Id (that corresponds to the run Id). # noqa: E501
|
|
340
|
+
|
|
341
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
342
|
+
asynchronous HTTP request, please pass async_req=True
|
|
343
|
+
>>> thread = api.get_revision_selector_list_of_values(model_field_id, parent_item_id, async_req=True)
|
|
344
|
+
>>> result = thread.get()
|
|
345
|
+
|
|
346
|
+
:param async_req bool
|
|
347
|
+
:param str model_field_id: The model field id for which you want to get the revision selector value (required)
|
|
348
|
+
:param str parent_item_id: The parent item id (run id) for which you want to get the revision selector value (required)
|
|
349
|
+
:return: list[str]
|
|
350
|
+
If the method is called asynchronously,
|
|
351
|
+
returns the request thread.
|
|
352
|
+
"""
|
|
353
|
+
kwargs['_return_http_data_only'] = True
|
|
354
|
+
if kwargs.get('async_req'):
|
|
355
|
+
return self.get_revision_selector_list_of_values_with_http_info(model_field_id, parent_item_id, **kwargs) # noqa: E501
|
|
356
|
+
else:
|
|
357
|
+
(data) = self.get_revision_selector_list_of_values_with_http_info(model_field_id, parent_item_id, **kwargs) # noqa: E501
|
|
358
|
+
return data
|
|
359
|
+
|
|
360
|
+
def get_revision_selector_list_of_values_with_http_info(self, model_field_id, parent_item_id, **kwargs): # noqa: E501
|
|
361
|
+
"""Get the list of all the available values for a RevisionSelector field depending on a model field id and a parent item Id (that corresponds to the run Id). # noqa: E501
|
|
362
|
+
|
|
363
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
364
|
+
asynchronous HTTP request, please pass async_req=True
|
|
365
|
+
>>> thread = api.get_revision_selector_list_of_values_with_http_info(model_field_id, parent_item_id, async_req=True)
|
|
366
|
+
>>> result = thread.get()
|
|
367
|
+
|
|
368
|
+
:param async_req bool
|
|
369
|
+
:param str model_field_id: The model field id for which you want to get the revision selector value (required)
|
|
370
|
+
:param str parent_item_id: The parent item id (run id) for which you want to get the revision selector value (required)
|
|
371
|
+
:return: list[str]
|
|
372
|
+
If the method is called asynchronously,
|
|
373
|
+
returns the request thread.
|
|
374
|
+
"""
|
|
375
|
+
|
|
376
|
+
all_params = ['model_field_id', 'parent_item_id'] # noqa: E501
|
|
377
|
+
all_params.append('async_req')
|
|
378
|
+
all_params.append('_return_http_data_only')
|
|
379
|
+
all_params.append('_preload_content')
|
|
380
|
+
all_params.append('_request_timeout')
|
|
381
|
+
|
|
382
|
+
params = locals()
|
|
383
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
384
|
+
if key not in all_params:
|
|
385
|
+
raise TypeError(
|
|
386
|
+
"Got an unexpected keyword argument '%s'"
|
|
387
|
+
" to method get_revision_selector_list_of_values" % key
|
|
388
|
+
)
|
|
389
|
+
params[key] = val
|
|
390
|
+
del params['kwargs']
|
|
391
|
+
# verify the required parameter 'model_field_id' is set
|
|
392
|
+
if ('model_field_id' not in params or
|
|
393
|
+
params['model_field_id'] is None):
|
|
394
|
+
raise ValueError("Missing the required parameter `model_field_id` when calling `get_revision_selector_list_of_values`") # noqa: E501
|
|
395
|
+
# verify the required parameter 'parent_item_id' is set
|
|
396
|
+
if ('parent_item_id' not in params or
|
|
397
|
+
params['parent_item_id'] is None):
|
|
398
|
+
raise ValueError("Missing the required parameter `parent_item_id` when calling `get_revision_selector_list_of_values`") # noqa: E501
|
|
399
|
+
|
|
400
|
+
collection_formats = {}
|
|
401
|
+
|
|
402
|
+
path_params = {}
|
|
403
|
+
if 'model_field_id' in params:
|
|
404
|
+
path_params['modelFieldId'] = params['model_field_id'] # noqa: E501
|
|
405
|
+
|
|
406
|
+
query_params = []
|
|
407
|
+
if 'parent_item_id' in params:
|
|
408
|
+
query_params.append(('parentItemId', params['parent_item_id'])) # noqa: E501
|
|
409
|
+
|
|
410
|
+
header_params = {}
|
|
411
|
+
|
|
412
|
+
form_params = []
|
|
413
|
+
local_var_files = {}
|
|
414
|
+
|
|
415
|
+
body_params = None
|
|
416
|
+
# HTTP header `Accept`
|
|
417
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
418
|
+
['application/json', 'text/json']) # noqa: E501
|
|
419
|
+
|
|
420
|
+
# Authentication setting
|
|
421
|
+
auth_settings = [] # noqa: E501
|
|
422
|
+
|
|
423
|
+
return self.api_client.call_api(
|
|
424
|
+
'/teamdbapi/v2.0/modelfield/{modelFieldId}/revisionselectorvalues', 'GET',
|
|
425
|
+
path_params,
|
|
426
|
+
query_params,
|
|
427
|
+
header_params,
|
|
428
|
+
body=body_params,
|
|
429
|
+
post_params=form_params,
|
|
430
|
+
files=local_var_files,
|
|
431
|
+
response_type='list[str]', # noqa: E501
|
|
432
|
+
auth_settings=auth_settings,
|
|
433
|
+
async_req=params.get('async_req'),
|
|
434
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
435
|
+
_preload_content=params.get('_preload_content', True),
|
|
436
|
+
_request_timeout=params.get('_request_timeout'),
|
|
437
|
+
collection_formats=collection_formats)
|
|
438
|
+
|
|
439
|
+
def get_revision_selector_value(self, model_field_id, parent_item_id, **kwargs): # noqa: E501
|
|
440
|
+
"""Get the value of a RevisionSelector field depending on a model field id and a parent item Id (that corresponds to the run Id). # noqa: E501
|
|
441
|
+
|
|
442
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
443
|
+
asynchronous HTTP request, please pass async_req=True
|
|
444
|
+
>>> thread = api.get_revision_selector_value(model_field_id, parent_item_id, async_req=True)
|
|
445
|
+
>>> result = thread.get()
|
|
446
|
+
|
|
447
|
+
:param async_req bool
|
|
448
|
+
:param str model_field_id: The model field id for which you want to get the revision selector value (required)
|
|
449
|
+
:param str parent_item_id: The parent item id (run id) for which you want to get the revision selector value (required)
|
|
450
|
+
:return: str
|
|
451
|
+
If the method is called asynchronously,
|
|
452
|
+
returns the request thread.
|
|
453
|
+
"""
|
|
454
|
+
kwargs['_return_http_data_only'] = True
|
|
455
|
+
if kwargs.get('async_req'):
|
|
456
|
+
return self.get_revision_selector_value_with_http_info(model_field_id, parent_item_id, **kwargs) # noqa: E501
|
|
457
|
+
else:
|
|
458
|
+
(data) = self.get_revision_selector_value_with_http_info(model_field_id, parent_item_id, **kwargs) # noqa: E501
|
|
459
|
+
return data
|
|
460
|
+
|
|
461
|
+
def get_revision_selector_value_with_http_info(self, model_field_id, parent_item_id, **kwargs): # noqa: E501
|
|
462
|
+
"""Get the value of a RevisionSelector field depending on a model field id and a parent item Id (that corresponds to the run Id). # noqa: E501
|
|
463
|
+
|
|
464
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
465
|
+
asynchronous HTTP request, please pass async_req=True
|
|
466
|
+
>>> thread = api.get_revision_selector_value_with_http_info(model_field_id, parent_item_id, async_req=True)
|
|
467
|
+
>>> result = thread.get()
|
|
468
|
+
|
|
469
|
+
:param async_req bool
|
|
470
|
+
:param str model_field_id: The model field id for which you want to get the revision selector value (required)
|
|
471
|
+
:param str parent_item_id: The parent item id (run id) for which you want to get the revision selector value (required)
|
|
472
|
+
:return: str
|
|
473
|
+
If the method is called asynchronously,
|
|
474
|
+
returns the request thread.
|
|
475
|
+
"""
|
|
476
|
+
|
|
477
|
+
all_params = ['model_field_id', 'parent_item_id'] # noqa: E501
|
|
478
|
+
all_params.append('async_req')
|
|
479
|
+
all_params.append('_return_http_data_only')
|
|
480
|
+
all_params.append('_preload_content')
|
|
481
|
+
all_params.append('_request_timeout')
|
|
482
|
+
|
|
483
|
+
params = locals()
|
|
484
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
485
|
+
if key not in all_params:
|
|
486
|
+
raise TypeError(
|
|
487
|
+
"Got an unexpected keyword argument '%s'"
|
|
488
|
+
" to method get_revision_selector_value" % key
|
|
489
|
+
)
|
|
490
|
+
params[key] = val
|
|
491
|
+
del params['kwargs']
|
|
492
|
+
# verify the required parameter 'model_field_id' is set
|
|
493
|
+
if ('model_field_id' not in params or
|
|
494
|
+
params['model_field_id'] is None):
|
|
495
|
+
raise ValueError("Missing the required parameter `model_field_id` when calling `get_revision_selector_value`") # noqa: E501
|
|
496
|
+
# verify the required parameter 'parent_item_id' is set
|
|
497
|
+
if ('parent_item_id' not in params or
|
|
498
|
+
params['parent_item_id'] is None):
|
|
499
|
+
raise ValueError("Missing the required parameter `parent_item_id` when calling `get_revision_selector_value`") # noqa: E501
|
|
500
|
+
|
|
501
|
+
collection_formats = {}
|
|
502
|
+
|
|
503
|
+
path_params = {}
|
|
504
|
+
if 'model_field_id' in params:
|
|
505
|
+
path_params['modelFieldId'] = params['model_field_id'] # noqa: E501
|
|
506
|
+
|
|
507
|
+
query_params = []
|
|
508
|
+
if 'parent_item_id' in params:
|
|
509
|
+
query_params.append(('parentItemId', params['parent_item_id'])) # noqa: E501
|
|
510
|
+
|
|
511
|
+
header_params = {}
|
|
512
|
+
|
|
513
|
+
form_params = []
|
|
514
|
+
local_var_files = {}
|
|
515
|
+
|
|
516
|
+
body_params = None
|
|
517
|
+
# HTTP header `Accept`
|
|
518
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
519
|
+
['application/json', 'text/json']) # noqa: E501
|
|
520
|
+
|
|
521
|
+
# Authentication setting
|
|
522
|
+
auth_settings = [] # noqa: E501
|
|
523
|
+
|
|
524
|
+
return self.api_client.call_api(
|
|
525
|
+
'/teamdbapi/v2.0/modelfield/{modelFieldId}/revisionselectorvalue', 'GET',
|
|
526
|
+
path_params,
|
|
527
|
+
query_params,
|
|
528
|
+
header_params,
|
|
529
|
+
body=body_params,
|
|
530
|
+
post_params=form_params,
|
|
531
|
+
files=local_var_files,
|
|
532
|
+
response_type='str', # noqa: E501
|
|
533
|
+
auth_settings=auth_settings,
|
|
534
|
+
async_req=params.get('async_req'),
|
|
535
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
536
|
+
_preload_content=params.get('_preload_content', True),
|
|
537
|
+
_request_timeout=params.get('_request_timeout'),
|
|
538
|
+
collection_formats=collection_formats)
|
|
539
|
+
|
|
540
|
+
def remove_revision_selector_filters(self, body, target_id, event_id, **kwargs): # noqa: E501
|
|
541
|
+
"""[Command] Remove a tags list for an event and a target in order to filter the revision selector fields displayed on the drop down # noqa: E501
|
|
542
|
+
|
|
543
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
544
|
+
asynchronous HTTP request, please pass async_req=True
|
|
545
|
+
>>> thread = api.remove_revision_selector_filters(body, target_id, event_id, async_req=True)
|
|
546
|
+
>>> result = thread.get()
|
|
547
|
+
|
|
548
|
+
:param async_req bool
|
|
549
|
+
:param list[str] body: The tags used to filter the revision selector fields you want to remove (required)
|
|
550
|
+
:param str target_id: The target unique id for which you want to remove the tags list (required)
|
|
551
|
+
:param str event_id: The event unique id for which you want to remove the tags list (required)
|
|
552
|
+
:return: None
|
|
553
|
+
If the method is called asynchronously,
|
|
554
|
+
returns the request thread.
|
|
555
|
+
"""
|
|
556
|
+
kwargs['_return_http_data_only'] = True
|
|
557
|
+
if kwargs.get('async_req'):
|
|
558
|
+
return self.remove_revision_selector_filters_with_http_info(body, target_id, event_id, **kwargs) # noqa: E501
|
|
559
|
+
else:
|
|
560
|
+
(data) = self.remove_revision_selector_filters_with_http_info(body, target_id, event_id, **kwargs) # noqa: E501
|
|
561
|
+
return data
|
|
562
|
+
|
|
563
|
+
def remove_revision_selector_filters_with_http_info(self, body, target_id, event_id, **kwargs): # noqa: E501
|
|
564
|
+
"""[Command] Remove a tags list for an event and a target in order to filter the revision selector fields displayed on the drop down # noqa: E501
|
|
565
|
+
|
|
566
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
567
|
+
asynchronous HTTP request, please pass async_req=True
|
|
568
|
+
>>> thread = api.remove_revision_selector_filters_with_http_info(body, target_id, event_id, async_req=True)
|
|
569
|
+
>>> result = thread.get()
|
|
570
|
+
|
|
571
|
+
:param async_req bool
|
|
572
|
+
:param list[str] body: The tags used to filter the revision selector fields you want to remove (required)
|
|
573
|
+
:param str target_id: The target unique id for which you want to remove the tags list (required)
|
|
574
|
+
:param str event_id: The event unique id for which you want to remove the tags list (required)
|
|
575
|
+
:return: None
|
|
576
|
+
If the method is called asynchronously,
|
|
577
|
+
returns the request thread.
|
|
578
|
+
"""
|
|
579
|
+
|
|
580
|
+
all_params = ['body', 'target_id', 'event_id'] # noqa: E501
|
|
581
|
+
all_params.append('async_req')
|
|
582
|
+
all_params.append('_return_http_data_only')
|
|
583
|
+
all_params.append('_preload_content')
|
|
584
|
+
all_params.append('_request_timeout')
|
|
585
|
+
|
|
586
|
+
params = locals()
|
|
587
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
588
|
+
if key not in all_params:
|
|
589
|
+
raise TypeError(
|
|
590
|
+
"Got an unexpected keyword argument '%s'"
|
|
591
|
+
" to method remove_revision_selector_filters" % key
|
|
592
|
+
)
|
|
593
|
+
params[key] = val
|
|
594
|
+
del params['kwargs']
|
|
595
|
+
# verify the required parameter 'body' is set
|
|
596
|
+
if ('body' not in params or
|
|
597
|
+
params['body'] is None):
|
|
598
|
+
raise ValueError("Missing the required parameter `body` when calling `remove_revision_selector_filters`") # noqa: E501
|
|
599
|
+
# verify the required parameter 'target_id' is set
|
|
600
|
+
if ('target_id' not in params or
|
|
601
|
+
params['target_id'] is None):
|
|
602
|
+
raise ValueError("Missing the required parameter `target_id` when calling `remove_revision_selector_filters`") # noqa: E501
|
|
603
|
+
# verify the required parameter 'event_id' is set
|
|
604
|
+
if ('event_id' not in params or
|
|
605
|
+
params['event_id'] is None):
|
|
606
|
+
raise ValueError("Missing the required parameter `event_id` when calling `remove_revision_selector_filters`") # noqa: E501
|
|
607
|
+
|
|
608
|
+
collection_formats = {}
|
|
609
|
+
|
|
610
|
+
path_params = {}
|
|
611
|
+
if 'event_id' in params:
|
|
612
|
+
path_params['eventId'] = params['event_id'] # noqa: E501
|
|
613
|
+
|
|
614
|
+
query_params = []
|
|
615
|
+
if 'target_id' in params:
|
|
616
|
+
query_params.append(('targetId', params['target_id'])) # noqa: E501
|
|
617
|
+
|
|
618
|
+
header_params = {}
|
|
619
|
+
|
|
620
|
+
form_params = []
|
|
621
|
+
local_var_files = {}
|
|
622
|
+
|
|
623
|
+
body_params = None
|
|
624
|
+
if 'body' in params:
|
|
625
|
+
body_params = params['body']
|
|
626
|
+
# HTTP header `Accept`
|
|
627
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
628
|
+
['application/json', 'text/json']) # noqa: E501
|
|
629
|
+
|
|
630
|
+
# HTTP header `Content-Type`
|
|
631
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
632
|
+
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
633
|
+
|
|
634
|
+
# Authentication setting
|
|
635
|
+
auth_settings = [] # noqa: E501
|
|
636
|
+
|
|
637
|
+
return self.api_client.call_api(
|
|
638
|
+
'/teamdbapi/v2.0/event/{eventId}/removerevisionselectorfilters', 'POST',
|
|
639
|
+
path_params,
|
|
640
|
+
query_params,
|
|
641
|
+
header_params,
|
|
642
|
+
body=body_params,
|
|
643
|
+
post_params=form_params,
|
|
644
|
+
files=local_var_files,
|
|
645
|
+
response_type=None, # noqa: E501
|
|
646
|
+
auth_settings=auth_settings,
|
|
647
|
+
async_req=params.get('async_req'),
|
|
648
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
649
|
+
_preload_content=params.get('_preload_content', True),
|
|
650
|
+
_request_timeout=params.get('_request_timeout'),
|
|
651
|
+
collection_formats=collection_formats)
|
|
652
|
+
|
|
653
|
+
def set_revision_editor_value(self, body, parent_item_id, model_field_id, **kwargs): # noqa: E501
|
|
654
|
+
"""[Command] Set the value of a RevisionEditor field depending on a model field id and a parent item Id (that corresponds to the run Id). Important notice : RevisionEditor fields work only with Single value Parameters. 2D and 3D Parameters are not supported. # noqa: E501
|
|
655
|
+
|
|
656
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
657
|
+
asynchronous HTTP request, please pass async_req=True
|
|
658
|
+
>>> thread = api.set_revision_editor_value(body, parent_item_id, model_field_id, async_req=True)
|
|
659
|
+
>>> result = thread.get()
|
|
660
|
+
|
|
661
|
+
:param async_req bool
|
|
662
|
+
:param object body: The new value (required)
|
|
663
|
+
:param str parent_item_id: The parent item id (run id) for which you want to get the revision editor value (required)
|
|
664
|
+
:param str model_field_id: The model field id for which you want to get the revision editor value (required)
|
|
665
|
+
:return: object
|
|
666
|
+
If the method is called asynchronously,
|
|
667
|
+
returns the request thread.
|
|
668
|
+
"""
|
|
669
|
+
kwargs['_return_http_data_only'] = True
|
|
670
|
+
if kwargs.get('async_req'):
|
|
671
|
+
return self.set_revision_editor_value_with_http_info(body, parent_item_id, model_field_id, **kwargs) # noqa: E501
|
|
672
|
+
else:
|
|
673
|
+
(data) = self.set_revision_editor_value_with_http_info(body, parent_item_id, model_field_id, **kwargs) # noqa: E501
|
|
674
|
+
return data
|
|
675
|
+
|
|
676
|
+
def set_revision_editor_value_with_http_info(self, body, parent_item_id, model_field_id, **kwargs): # noqa: E501
|
|
677
|
+
"""[Command] Set the value of a RevisionEditor field depending on a model field id and a parent item Id (that corresponds to the run Id). Important notice : RevisionEditor fields work only with Single value Parameters. 2D and 3D Parameters are not supported. # noqa: E501
|
|
678
|
+
|
|
679
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
680
|
+
asynchronous HTTP request, please pass async_req=True
|
|
681
|
+
>>> thread = api.set_revision_editor_value_with_http_info(body, parent_item_id, model_field_id, async_req=True)
|
|
682
|
+
>>> result = thread.get()
|
|
683
|
+
|
|
684
|
+
:param async_req bool
|
|
685
|
+
:param object body: The new value (required)
|
|
686
|
+
:param str parent_item_id: The parent item id (run id) for which you want to get the revision editor value (required)
|
|
687
|
+
:param str model_field_id: The model field id for which you want to get the revision editor value (required)
|
|
688
|
+
:return: object
|
|
689
|
+
If the method is called asynchronously,
|
|
690
|
+
returns the request thread.
|
|
691
|
+
"""
|
|
692
|
+
|
|
693
|
+
all_params = ['body', 'parent_item_id', 'model_field_id'] # noqa: E501
|
|
694
|
+
all_params.append('async_req')
|
|
695
|
+
all_params.append('_return_http_data_only')
|
|
696
|
+
all_params.append('_preload_content')
|
|
697
|
+
all_params.append('_request_timeout')
|
|
698
|
+
|
|
699
|
+
params = locals()
|
|
700
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
701
|
+
if key not in all_params:
|
|
702
|
+
raise TypeError(
|
|
703
|
+
"Got an unexpected keyword argument '%s'"
|
|
704
|
+
" to method set_revision_editor_value" % key
|
|
705
|
+
)
|
|
706
|
+
params[key] = val
|
|
707
|
+
del params['kwargs']
|
|
708
|
+
# verify the required parameter 'body' is set
|
|
709
|
+
if ('body' not in params or
|
|
710
|
+
params['body'] is None):
|
|
711
|
+
raise ValueError("Missing the required parameter `body` when calling `set_revision_editor_value`") # noqa: E501
|
|
712
|
+
# verify the required parameter 'parent_item_id' is set
|
|
713
|
+
if ('parent_item_id' not in params or
|
|
714
|
+
params['parent_item_id'] is None):
|
|
715
|
+
raise ValueError("Missing the required parameter `parent_item_id` when calling `set_revision_editor_value`") # noqa: E501
|
|
716
|
+
# verify the required parameter 'model_field_id' is set
|
|
717
|
+
if ('model_field_id' not in params or
|
|
718
|
+
params['model_field_id'] is None):
|
|
719
|
+
raise ValueError("Missing the required parameter `model_field_id` when calling `set_revision_editor_value`") # noqa: E501
|
|
720
|
+
|
|
721
|
+
collection_formats = {}
|
|
722
|
+
|
|
723
|
+
path_params = {}
|
|
724
|
+
if 'model_field_id' in params:
|
|
725
|
+
path_params['modelFieldId'] = params['model_field_id'] # noqa: E501
|
|
726
|
+
|
|
727
|
+
query_params = []
|
|
728
|
+
if 'parent_item_id' in params:
|
|
729
|
+
query_params.append(('parentItemId', params['parent_item_id'])) # noqa: E501
|
|
730
|
+
|
|
731
|
+
header_params = {}
|
|
732
|
+
|
|
733
|
+
form_params = []
|
|
734
|
+
local_var_files = {}
|
|
735
|
+
|
|
736
|
+
body_params = None
|
|
737
|
+
if 'body' in params:
|
|
738
|
+
body_params = params['body']
|
|
739
|
+
# HTTP header `Accept`
|
|
740
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
741
|
+
['application/json', 'text/json']) # noqa: E501
|
|
742
|
+
|
|
743
|
+
# HTTP header `Content-Type`
|
|
744
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
745
|
+
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
746
|
+
|
|
747
|
+
# Authentication setting
|
|
748
|
+
auth_settings = [] # noqa: E501
|
|
749
|
+
|
|
750
|
+
return self.api_client.call_api(
|
|
751
|
+
'/teamdbapi/v2.0/modelfield/{modelFieldId}/revisioneditorvalue', 'POST',
|
|
752
|
+
path_params,
|
|
753
|
+
query_params,
|
|
754
|
+
header_params,
|
|
755
|
+
body=body_params,
|
|
756
|
+
post_params=form_params,
|
|
757
|
+
files=local_var_files,
|
|
758
|
+
response_type='object', # noqa: E501
|
|
759
|
+
auth_settings=auth_settings,
|
|
760
|
+
async_req=params.get('async_req'),
|
|
761
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
762
|
+
_preload_content=params.get('_preload_content', True),
|
|
763
|
+
_request_timeout=params.get('_request_timeout'),
|
|
764
|
+
collection_formats=collection_formats)
|
|
765
|
+
|
|
766
|
+
def set_revision_selector_filters(self, body, target_id, event_id, **kwargs): # noqa: E501
|
|
767
|
+
"""[Command] Set the tags list for an event and a target in order to filter the revision selector fields displayed on the drop down # noqa: E501
|
|
768
|
+
|
|
769
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
770
|
+
asynchronous HTTP request, please pass async_req=True
|
|
771
|
+
>>> thread = api.set_revision_selector_filters(body, target_id, event_id, async_req=True)
|
|
772
|
+
>>> result = thread.get()
|
|
773
|
+
|
|
774
|
+
:param async_req bool
|
|
775
|
+
:param list[str] body: The tags used to filter the revision selector fields you want to add (required)
|
|
776
|
+
:param str target_id: The target unique id for which you want to add the tags list (required)
|
|
777
|
+
:param str event_id: The event unique id for which you want to add the tags list (required)
|
|
778
|
+
:return: None
|
|
779
|
+
If the method is called asynchronously,
|
|
780
|
+
returns the request thread.
|
|
781
|
+
"""
|
|
782
|
+
kwargs['_return_http_data_only'] = True
|
|
783
|
+
if kwargs.get('async_req'):
|
|
784
|
+
return self.set_revision_selector_filters_with_http_info(body, target_id, event_id, **kwargs) # noqa: E501
|
|
785
|
+
else:
|
|
786
|
+
(data) = self.set_revision_selector_filters_with_http_info(body, target_id, event_id, **kwargs) # noqa: E501
|
|
787
|
+
return data
|
|
788
|
+
|
|
789
|
+
def set_revision_selector_filters_with_http_info(self, body, target_id, event_id, **kwargs): # noqa: E501
|
|
790
|
+
"""[Command] Set the tags list for an event and a target in order to filter the revision selector fields displayed on the drop down # noqa: E501
|
|
791
|
+
|
|
792
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
793
|
+
asynchronous HTTP request, please pass async_req=True
|
|
794
|
+
>>> thread = api.set_revision_selector_filters_with_http_info(body, target_id, event_id, async_req=True)
|
|
795
|
+
>>> result = thread.get()
|
|
796
|
+
|
|
797
|
+
:param async_req bool
|
|
798
|
+
:param list[str] body: The tags used to filter the revision selector fields you want to add (required)
|
|
799
|
+
:param str target_id: The target unique id for which you want to add the tags list (required)
|
|
800
|
+
:param str event_id: The event unique id for which you want to add the tags list (required)
|
|
801
|
+
:return: None
|
|
802
|
+
If the method is called asynchronously,
|
|
803
|
+
returns the request thread.
|
|
804
|
+
"""
|
|
805
|
+
|
|
806
|
+
all_params = ['body', 'target_id', 'event_id'] # noqa: E501
|
|
807
|
+
all_params.append('async_req')
|
|
808
|
+
all_params.append('_return_http_data_only')
|
|
809
|
+
all_params.append('_preload_content')
|
|
810
|
+
all_params.append('_request_timeout')
|
|
811
|
+
|
|
812
|
+
params = locals()
|
|
813
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
814
|
+
if key not in all_params:
|
|
815
|
+
raise TypeError(
|
|
816
|
+
"Got an unexpected keyword argument '%s'"
|
|
817
|
+
" to method set_revision_selector_filters" % key
|
|
818
|
+
)
|
|
819
|
+
params[key] = val
|
|
820
|
+
del params['kwargs']
|
|
821
|
+
# verify the required parameter 'body' is set
|
|
822
|
+
if ('body' not in params or
|
|
823
|
+
params['body'] is None):
|
|
824
|
+
raise ValueError("Missing the required parameter `body` when calling `set_revision_selector_filters`") # noqa: E501
|
|
825
|
+
# verify the required parameter 'target_id' is set
|
|
826
|
+
if ('target_id' not in params or
|
|
827
|
+
params['target_id'] is None):
|
|
828
|
+
raise ValueError("Missing the required parameter `target_id` when calling `set_revision_selector_filters`") # noqa: E501
|
|
829
|
+
# verify the required parameter 'event_id' is set
|
|
830
|
+
if ('event_id' not in params or
|
|
831
|
+
params['event_id'] is None):
|
|
832
|
+
raise ValueError("Missing the required parameter `event_id` when calling `set_revision_selector_filters`") # noqa: E501
|
|
833
|
+
|
|
834
|
+
collection_formats = {}
|
|
835
|
+
|
|
836
|
+
path_params = {}
|
|
837
|
+
if 'event_id' in params:
|
|
838
|
+
path_params['eventId'] = params['event_id'] # noqa: E501
|
|
839
|
+
|
|
840
|
+
query_params = []
|
|
841
|
+
if 'target_id' in params:
|
|
842
|
+
query_params.append(('targetId', params['target_id'])) # noqa: E501
|
|
843
|
+
|
|
844
|
+
header_params = {}
|
|
845
|
+
|
|
846
|
+
form_params = []
|
|
847
|
+
local_var_files = {}
|
|
848
|
+
|
|
849
|
+
body_params = None
|
|
850
|
+
if 'body' in params:
|
|
851
|
+
body_params = params['body']
|
|
852
|
+
# HTTP header `Accept`
|
|
853
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
854
|
+
['application/json', 'text/json']) # noqa: E501
|
|
855
|
+
|
|
856
|
+
# HTTP header `Content-Type`
|
|
857
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
858
|
+
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
859
|
+
|
|
860
|
+
# Authentication setting
|
|
861
|
+
auth_settings = [] # noqa: E501
|
|
862
|
+
|
|
863
|
+
return self.api_client.call_api(
|
|
864
|
+
'/teamdbapi/v2.0/event/{eventId}/revisionselectorfilters', 'POST',
|
|
865
|
+
path_params,
|
|
866
|
+
query_params,
|
|
867
|
+
header_params,
|
|
868
|
+
body=body_params,
|
|
869
|
+
post_params=form_params,
|
|
870
|
+
files=local_var_files,
|
|
871
|
+
response_type=None, # noqa: E501
|
|
872
|
+
auth_settings=auth_settings,
|
|
873
|
+
async_req=params.get('async_req'),
|
|
874
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
875
|
+
_preload_content=params.get('_preload_content', True),
|
|
876
|
+
_request_timeout=params.get('_request_timeout'),
|
|
877
|
+
collection_formats=collection_formats)
|
|
878
|
+
|
|
879
|
+
def set_revision_selector_value(self, body, parent_item_id, model_field_id, **kwargs): # noqa: E501
|
|
880
|
+
"""[Command] Set the value of a RevisionSelector field depending on a model field id and a parent item Id (that corresponds to the run Id). # noqa: E501
|
|
881
|
+
|
|
882
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
883
|
+
asynchronous HTTP request, please pass async_req=True
|
|
884
|
+
>>> thread = api.set_revision_selector_value(body, parent_item_id, model_field_id, async_req=True)
|
|
885
|
+
>>> result = thread.get()
|
|
886
|
+
|
|
887
|
+
:param async_req bool
|
|
888
|
+
:param str body: The revision name value to apply. This value must match with a value available in the GetRevisionSelectorListOfValues function (required)
|
|
889
|
+
:param str parent_item_id: The parent item id (run id) for which you want to get the revision selector value (required)
|
|
890
|
+
:param str model_field_id: The model field id for which you want to get the revision selector value (required)
|
|
891
|
+
:return: str
|
|
892
|
+
If the method is called asynchronously,
|
|
893
|
+
returns the request thread.
|
|
894
|
+
"""
|
|
895
|
+
kwargs['_return_http_data_only'] = True
|
|
896
|
+
if kwargs.get('async_req'):
|
|
897
|
+
return self.set_revision_selector_value_with_http_info(body, parent_item_id, model_field_id, **kwargs) # noqa: E501
|
|
898
|
+
else:
|
|
899
|
+
(data) = self.set_revision_selector_value_with_http_info(body, parent_item_id, model_field_id, **kwargs) # noqa: E501
|
|
900
|
+
return data
|
|
901
|
+
|
|
902
|
+
def set_revision_selector_value_with_http_info(self, body, parent_item_id, model_field_id, **kwargs): # noqa: E501
|
|
903
|
+
"""[Command] Set the value of a RevisionSelector field depending on a model field id and a parent item Id (that corresponds to the run Id). # noqa: E501
|
|
904
|
+
|
|
905
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
906
|
+
asynchronous HTTP request, please pass async_req=True
|
|
907
|
+
>>> thread = api.set_revision_selector_value_with_http_info(body, parent_item_id, model_field_id, async_req=True)
|
|
908
|
+
>>> result = thread.get()
|
|
909
|
+
|
|
910
|
+
:param async_req bool
|
|
911
|
+
:param str body: The revision name value to apply. This value must match with a value available in the GetRevisionSelectorListOfValues function (required)
|
|
912
|
+
:param str parent_item_id: The parent item id (run id) for which you want to get the revision selector value (required)
|
|
913
|
+
:param str model_field_id: The model field id for which you want to get the revision selector value (required)
|
|
914
|
+
:return: str
|
|
915
|
+
If the method is called asynchronously,
|
|
916
|
+
returns the request thread.
|
|
917
|
+
"""
|
|
918
|
+
|
|
919
|
+
all_params = ['body', 'parent_item_id', 'model_field_id'] # noqa: E501
|
|
920
|
+
all_params.append('async_req')
|
|
921
|
+
all_params.append('_return_http_data_only')
|
|
922
|
+
all_params.append('_preload_content')
|
|
923
|
+
all_params.append('_request_timeout')
|
|
924
|
+
|
|
925
|
+
params = locals()
|
|
926
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
927
|
+
if key not in all_params:
|
|
928
|
+
raise TypeError(
|
|
929
|
+
"Got an unexpected keyword argument '%s'"
|
|
930
|
+
" to method set_revision_selector_value" % key
|
|
931
|
+
)
|
|
932
|
+
params[key] = val
|
|
933
|
+
del params['kwargs']
|
|
934
|
+
# verify the required parameter 'body' is set
|
|
935
|
+
if ('body' not in params or
|
|
936
|
+
params['body'] is None):
|
|
937
|
+
raise ValueError("Missing the required parameter `body` when calling `set_revision_selector_value`") # noqa: E501
|
|
938
|
+
# verify the required parameter 'parent_item_id' is set
|
|
939
|
+
if ('parent_item_id' not in params or
|
|
940
|
+
params['parent_item_id'] is None):
|
|
941
|
+
raise ValueError("Missing the required parameter `parent_item_id` when calling `set_revision_selector_value`") # noqa: E501
|
|
942
|
+
# verify the required parameter 'model_field_id' is set
|
|
943
|
+
if ('model_field_id' not in params or
|
|
944
|
+
params['model_field_id'] is None):
|
|
945
|
+
raise ValueError("Missing the required parameter `model_field_id` when calling `set_revision_selector_value`") # noqa: E501
|
|
946
|
+
|
|
947
|
+
collection_formats = {}
|
|
948
|
+
|
|
949
|
+
path_params = {}
|
|
950
|
+
if 'model_field_id' in params:
|
|
951
|
+
path_params['modelFieldId'] = params['model_field_id'] # noqa: E501
|
|
952
|
+
|
|
953
|
+
query_params = []
|
|
954
|
+
if 'parent_item_id' in params:
|
|
955
|
+
query_params.append(('parentItemId', params['parent_item_id'])) # noqa: E501
|
|
956
|
+
|
|
957
|
+
header_params = {}
|
|
958
|
+
|
|
959
|
+
form_params = []
|
|
960
|
+
local_var_files = {}
|
|
961
|
+
|
|
962
|
+
body_params = None
|
|
963
|
+
if 'body' in params:
|
|
964
|
+
body_params = params['body']
|
|
965
|
+
# HTTP header `Accept`
|
|
966
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
967
|
+
['application/json', 'text/json']) # noqa: E501
|
|
968
|
+
|
|
969
|
+
# HTTP header `Content-Type`
|
|
970
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
971
|
+
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
972
|
+
|
|
973
|
+
# Authentication setting
|
|
974
|
+
auth_settings = [] # noqa: E501
|
|
975
|
+
|
|
976
|
+
return self.api_client.call_api(
|
|
977
|
+
'/teamdbapi/v2.0/modelfield/{modelFieldId}/revisionselectorvalue', 'POST',
|
|
978
|
+
path_params,
|
|
979
|
+
query_params,
|
|
980
|
+
header_params,
|
|
981
|
+
body=body_params,
|
|
982
|
+
post_params=form_params,
|
|
983
|
+
files=local_var_files,
|
|
984
|
+
response_type='str', # noqa: E501
|
|
985
|
+
auth_settings=auth_settings,
|
|
986
|
+
async_req=params.get('async_req'),
|
|
987
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
988
|
+
_preload_content=params.get('_preload_content', True),
|
|
989
|
+
_request_timeout=params.get('_request_timeout'),
|
|
990
|
+
collection_formats=collection_formats)
|