@@ -193,14 +193,15 @@ def versions_list(self, project_id, translation_id, **kwargs): # noqa: E501
193193 :param int page: Page number
194194 :param int per_page: Limit on the number of objects to be returned, between 1 and 100. 25 by default
195195 :param str branch: specify the branch to use
196+ :param bool only_content_updates: Indicates whether only content updates should be returned
196197 :param _preload_content: if False, the urllib3.HTTPResponse object will
197198 be returned without reading/decoding response
198199 data. Default is True.
199200 :param _request_timeout: timeout setting for this request. If one
200201 number provided, it will be total request
201202 timeout. It can also be a pair (tuple) of
202203 (connection, read) timeouts.
203- :return: List[TranslationVersion ]
204+ :return: List[TranslationVersionWithUser ]
204205 If the method is called asynchronously,
205206 returns the request thread.
206207 """
@@ -223,6 +224,7 @@ def versions_list_with_http_info(self, project_id, translation_id, **kwargs): #
223224 :param int page: Page number
224225 :param int per_page: Limit on the number of objects to be returned, between 1 and 100. 25 by default
225226 :param str branch: specify the branch to use
227+ :param bool only_content_updates: Indicates whether only content updates should be returned
226228 :param _return_http_data_only: response data without head status code
227229 and headers
228230 :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -232,7 +234,7 @@ def versions_list_with_http_info(self, project_id, translation_id, **kwargs): #
232234 number provided, it will be total request
233235 timeout. It can also be a pair (tuple) of
234236 (connection, read) timeouts.
235- :return: tuple(List[TranslationVersion ], status_code(int), headers(HTTPHeaderDict))
237+ :return: tuple(List[TranslationVersionWithUser ], status_code(int), headers(HTTPHeaderDict))
236238 If the method is called asynchronously,
237239 returns the request thread.
238240 """
@@ -245,7 +247,8 @@ def versions_list_with_http_info(self, project_id, translation_id, **kwargs): #
245247 'x_phrase_app_otp' ,
246248 'page' ,
247249 'per_page' ,
248- 'branch'
250+ 'branch' ,
251+ 'only_content_updates'
249252 ]
250253 all_params .extend (
251254 [
@@ -288,6 +291,8 @@ def versions_list_with_http_info(self, project_id, translation_id, **kwargs): #
288291 query_params .append (('per_page' , local_var_params ['per_page' ])) # noqa: E501
289292 if 'branch' in local_var_params and local_var_params ['branch' ] is not None : # noqa: E501
290293 query_params .append (('branch' , local_var_params ['branch' ])) # noqa: E501
294+ if 'only_content_updates' in local_var_params and local_var_params ['only_content_updates' ] is not None : # noqa: E501
295+ query_params .append (('only_content_updates' , local_var_params ['only_content_updates' ])) # noqa: E501
291296
292297 header_params = {}
293298 if 'x_phrase_app_otp' in local_var_params :
@@ -312,7 +317,7 @@ def versions_list_with_http_info(self, project_id, translation_id, **kwargs): #
312317 body = body_params ,
313318 post_params = form_params ,
314319 files = local_var_files ,
315- response_type = 'List[TranslationVersion ]' , # noqa: E501
320+ response_type = 'List[TranslationVersionWithUser ]' , # noqa: E501
316321 auth_settings = auth_settings ,
317322 async_req = local_var_params .get ('async_req' ),
318323 _return_http_data_only = local_var_params .get ('_return_http_data_only' ), # noqa: E501
0 commit comments